Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
action script interacts with QM.
#1
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. Exclamation

I hope that experienced developers can guide me, thank you in advance.


Macro Macro1
Trigger SF9     Help - how to add the trigger to the macro
Code:
Copy      Help
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"


Attached Files Image(s)
   

.zip   movie.swf.zip (Size: 646 bytes / Downloads: 333)


Messages In This Thread
action script interacts with QM. - by win - 09-04-2018, 11:19 PM
RE: action script interacts with QM. - by Kevin - 09-06-2018, 02:24 AM
RE: action script interacts with QM. - by win - 09-06-2018, 05:52 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)