04-25-2018, 07:19 AM
I want to use a button control the SWF file to full screen, but I don't know how to write the code, I found control the swf file to full-screen code, on Google .I hope someone can guide or help me, thanks in advance
on (release) {
fscommand("fullscreen", "true");
}
Macro Macro1
on (release) {
fscommand("fullscreen", "true");
}
Macro Macro1
typelib ShockwaveFlashObjects {D27CDB6B-AE6D-11CF-96B8-444553540000} 1.0
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 448 246 "Dialog"
;3 ActiveX 0x54030000 0x0 0 0 448 210 "ShockwaveFlashObjects.ShockwaveFlash {D27CDB6E-AE6D-11CF-96B8-444553540000}"
;4 Button 0x54032000 0x0 172 224 72 14 "swf Fullscreen"
;1 Button 0x54030001 0x4 308 224 48 14 "OK"
;2 Button 0x54030000 0x4 380 224 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""
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("http://fs.focusky.com.cn/jhgh/mcnh/files/extfiles/ext_2018414091740557.swf"))
,
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
,case 4 ;;fullscreen
,sh3._setevents("sub.sh3")
ret 1
#sub sh3_FSCommand
function BSTR'command BSTR'args ;;ShockwaveFlashObjects.IShockwaveFlash'sh3
code ????????