Help need with swf control

09-06-2009, 01:42 AM

I need to play multiple swf files in my form!

I need a swf (embedded) file to play in flashcontrol1 & as soon as it come to end of movie flashcontrol2 must start automatically play its movie & flashcontrol1 must disappear!

please help me!
Thanks & nice day!

09-06-2009, 10:41 AM
Well, in my opinion, you don't need 2 controls...

You just have to load the first movie in the Form_Load event like this:

flashcontrol.Movie = CurDir + "\2ndMovie.swf"

At the end of the first SWF file, put an actionscript fscommand("end", "true");
Then, in VB, double click the ShockWave Flash Control, then chose "FSCommand" on the 2nd. dropdown menu on the "Code" window.
There, paste this:

flashcontrol.Movie = CurDir + "\2ndMovie.swf"

Sorry my AWFUL english...
Hope I've helped

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum