Reputation: 23
As Flash is going to be dead in few days. I want to know how I can create an .EXE file that loads the SWF file from the server and plays in that application.
Upvotes: 1
Views: 415
Reputation: 15881
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";
Upvotes: 2