Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website.  Home Flash & Swish Flash Tutorials Importing Flash into VB6, C++, c# .NET

Importing Flash into VB6, C++, c# .NET


Importing Flash into VB6, C++, c# .NETBy following these simple steps, you will be up and running in no time at all and impressing all of your visitors with your talents! You basically need 2 simple things: use the Flash player as a component in your project and then catch and act on the events that it is raising.

1. You need to include the Flash component in your project. In VB6 you would just navigate to Project|Components|Browse, and then select Flash.ocx
2. Now you can create a ShockwaveFlash control on your form
3. You should tell the Flash component to load and play an SWF file by setting the Movie property
4. The player will raise FSCommand events (named ShockwaveFlash1_FSCommand in VB6 if your control was named ShockwaveFlash1)
5. The command string indicates with button was pressed. The command will look like "on_releaseb1_1", where the 2 numbers separated by the underscore indicates the row and column of the button that was pressed
6. If you distribute your application, make sure you distribute Flash.ocx as well and run regsvr32 to register the component

Author's URL: mix-fx.com
Final results of our readers
New!
Passed through all the steps? Share your result!
Your result will be premoderated.
Please make sure you choose the right image.
 
 



Captcha

*Required fileds
Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website. More Flash Tutorials: Featured Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Reader's comments
comments matheswaranm June 07, 2006 says:
good
Reply
Add comments to "Importing Flash into VB6, C++, c# .NET"

Captcha