PDA

Click to See Complete Forum and Search --> : VB.NET : Play ShockWave Flash movie in VB.NET


Pirate
Sep 21st, 2003, 11:47 AM
VB.NET 2003 Proj .

LeeBee
Feb 16th, 2006, 05:09 PM
Drag it onto your form.
Name if AxFlash
in your program...
AxFlash.Movie="your file name.swf")
AxFlash.Play()

If you just can't find the control, there are several sections in your tool bar, look in all of them. Plus, in the WindowsForms section of the tool bar, if the control is at the end, you will have to scroll down to see it.

giova
Mar 30th, 2007, 02:09 PM
Does it work just for VB.net WINDOWS applications ??
I have tried in a VB.net WEB application and doesn't work. Any help will be appreciated
:o

Engauday
Apr 8th, 2007, 04:03 PM
but how can i send information from VB.net program to falsh ????

pls help me

gabriyel
Jul 4th, 2007, 11:41 PM
how can i loop the movie? i tried using the property: .loop = true

but the movie did not loop... strange

RobDog888
Oct 15th, 2007, 03:57 PM
but how can i send information from VB.net program to falsh ????

pls help me
You will need to use the actionscript of Flash. You will probably get more detailed flash help from our other site http://flashkit.com

Teddy
Jan 31st, 2008, 10:48 PM
Does anyone know how to import object flash into form VB.Net?:)

volt4ge
Jun 2nd, 2009, 09:09 PM
After you have added the swflash object into your toolbar, just drag it onto your stage. Set the "Movie" Property to your swf location (local or remote doesnt matter)

To interact with flash via your VB application use the following two commands

ShockwaveFlash1.SetVariable("variable here", Textbox1.Text)
ShockwaveFlash1.GetVariable("variabletoget")

the setvariable example I have shown will take the text value of Textbox1 and set it to whatever variable you want defined in the code. you can combine multiple textboxes for development if needed(always helps me)

variables can be retrieved and set in many ways
_root.
_level0.
or just as
variable1 (gets from _root.)


so if you have a movieclip(menu) within a movieclip(maincontent) and the variable on the menu mc is button1val

_root.maincontent.menu.button1val
maincontent.menu.button1val

etc

hope this helps!