Search code examples
c#.netflashswfloader

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


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.


Solution

  • 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";