Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
control the SWF file to full screen
#9
Code:
Copy      Help
import win.ui;
/*DSG{{*/
var winform = win.form(text="Embedded FLASH control";right=511;bottom=352;parent=...)
winform.add(
btnScreen={cls="button";text="full screen";left=403;top=314;right=491;bottom=341;db=1;dr=1;z=2};
flashBox={cls="custom";left=17;top=15;right=486;bottom=302;db=1;dl=1;dr=1;dt=1;edge=1;z=1}
)
/*}}*/

import com.flash; 
var flash = com.flash( winform.flashBox ); 

flash.movie = "http://fs.focusky.com.cn/jhgh/mcnh/files/extfiles/ext_2018414091740557.swf"
flash.play()
winform.show(true) 
winform.flashBox.fullscreen(true);
win.loopMessage();
In a programming language, I saw the code to control swf full-screen display, the code is very concise, I hope the developers guide me, in QM,  use a similar approach.   Thanks in advance, any suggestions and comments are welcome Idea

if QM has a function  controlled all controls toggleFullscreen. It would be great


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: 1 Guest(s)