The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
control the SWF file to full screen
#1
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
Code:
Copy      Help
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 ????????


Messages In This Thread
control the SWF file to full screen - by win - 04-25-2018, 07:19 AM
RE: control the SWF file to full screen - by win - 04-25-2018, 11:19 AM
RE: control the SWF file to full screen - by win - 04-25-2018, 01:32 PM
RE: control the SWF file to full screen - by r0n - 04-25-2018, 03:32 PM
RE: control the SWF file to full screen - by win - 04-25-2018, 04:24 PM
RE: control the SWF file to full screen - by win - 04-26-2018, 12:05 AM
RE: control the SWF file to full screen - by win - 04-29-2018, 03:00 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)