谁能告诉我如何创建加载SWF的独立SWF启动器 [英] Can anyone tell me how to create an stand alone SWF launcher that loads the SWF
问题描述
由于Flash将在几天之内消失.我想知道如何创建一个.EXE文件,该文件从服务器加载swf文件并在该应用程序中播放.就像这样: http://prntscr.com/n91uta
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:使用Web浏览器组件(.NET控件).请参阅手册.好的教程#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");
您可以将宽度和高度设置为窗口大小的100%.
You can set width and height to be 100% of the window size.
选项2:使用Flash组件(一个COM对象).好的教程#2 .
Option 2: Use Flash component (a COM object). A good tutorial #2.
在COM组件中查找并选择Shockwave Flash Object
.默认情况下,它称为axShockwaveFlash1
.
Find and selectShockwave Flash Object
in COM components. By default it's called axShockwaveFlash1
.
this.axShockwaveFlash1.Movie = "https://yoursite.com/YourFlashFile.swf";
这篇关于谁能告诉我如何创建加载SWF的独立SWF启动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!