Help need with swf control

gymamal
09-06-2009, 02:42 AM
Hello,

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!

ruipimentel
09-06-2009, 11: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