Hello everyone,
I designed a flash interface that contains a button, I want to implement a function.
When I click the button, I can run the subfunction sub.flashmes in the QM code. I need to write some action script code. I don't know how AS interacts with QM.
If I can achieve the above functions, it will be very good, because the interface designed by flash is quite beautiful.
I hope that experienced developers can guide me, thank you in advance.
Macro Macro1
Trigger SF9
I designed a flash interface that contains a button, I want to implement a function.
When I click the button, I can run the subfunction sub.flashmes in the QM code. I need to write some action script code. I don't know how AS interacts with QM.
If I can achieve the above functions, it will be very good, because the interface designed by flash is quite beautiful.
I hope that experienced developers can guide me, thank you in advance.
Macro Macro1
Trigger SF9
typelib ShockwaveFlashObjects {D27CDB6B-AE6D-11CF-96B8-444553540000} 1.0
str dd=
;BEGIN DIALOG
;0 "" 0x90CF0AC8 0x0 0 0 436 228 "Dialog"
;3 ActiveX 0x54030000 0x0 0 0 436 228 "ShockwaveFlashObjects.ShockwaveFlash {D27CDB6E-AE6D-11CF-96B8-444553540000}"
;END DIALOG
;DIALOG EDITOR: "" 0x2040701 "*" "" "" ""
if(!ShowDialog(dd &sub.DlgProc 0)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,ShockwaveFlashObjects.ShockwaveFlash sh3
,sh3._getcontrol(id(3 hDlg))
,sh3.LoadMovie(0 _s.expandpath("$desktop$\movie.swf"))
,sh3.Play
,DT_SetAutoSizeControls(hDlg "3s")
,max hDlg
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1
#sub flashmes
mes "hello"