how to run flash
-
Hi You may try the followign steps: First you want to add the "Flash" control to the Toolbox: 1) Right-click on the Toolbox, choose "Add/Remove items..." 2) Select the "COM Components" tab 3) Scroll down to "Shockwave Flash Object" and make sure it's ticked 4) Click OK 5) Drag the "Shockwave Flash Object" from the toolbox onto the Form (just like any other control) 6) Righ-click on the new object and select "Properties" to show the custom properties panel. Please note: You may not want to hard-code the URL for the moview or file in the properties dialog, so try setting the "Movie" property to something like Application.StartupPath + "\\MyMovie.swf" If you want to talk to the Flash movie from C# then you need to use the "SetVariable" method If you want to talk to the host Windows Forms app from Flash, use FSCommand... you'll need to add an event handler in your Windows Forms. Hope this helps :).
Regards, John Adams ComponentOne LLC
-
3 Approaches: 1) Use a COM object that is meant to be used for swf/flv files. 2) Use a converter to convert the swf or flv file into a XAML compliant code file. 3) Integrate a web browser into the application that navigates to the swf or flv file. Keep in mind that the end-user must have the flash player installed for it to work with the web browser control.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog