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
Your Ad Here

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
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Internet & computing Flash is a vector-based moving graphics format created by Macromedia for the publication of animations on the World Wide Web. More Flash & Swish: Most Popular Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Add comments to "Importing Flash into VB6, C++, c# .NET"

Only registered users can write comment

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