Can anyone tell me how to create an stand alone SWF launcher that loads the SWF

半城伤御伤魂 提交于 2019-12-24 07:46:23

问题


As Flash is going to be dead in few days. I want to know how I can create an .EXE file which loads the swf file from the server and plays in that application. Just like this: http://prntscr.com/n91uta


回答1:


Option 1: Use Web Browser component (a .NET Control). See page from manual. A good tutorial #1.

this.webBrowser1.Navigate("https://yoursite.com/YourFlashFile.swf");

You can set width and height to be 100% of the window size.

Option 2: Use Flash component (a COM object). A good tutorial #2.

Find and selectShockwave Flash Object in COM components. By default it's called axShockwaveFlash1.

this.axShockwaveFlash1.Movie = "https://yoursite.com/YourFlashFile.swf";


来源:https://stackoverflow.com/questions/55572820/can-anyone-tell-me-how-to-create-an-stand-alone-swf-launcher-that-loads-the-swf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!