Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

playing swf's as movies

Status
Not open for further replies.

jasek78

Programmer
Nov 5, 2001
298
US
I created 2 flash movies. I would like to have the first movie play, then have the second movie loop. How can I do this?

Jason Kofoed
 
2 movie clips or 2 .swfs? Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
I have 2 .swf files, but I also have the original .fla source files if needed.
 
Well a normal .swf (if it doesn't have a stop(); action on it) will loop on itself.
So you could put a stop(); action on the last frame of the first movie and at the same time, load the second movie without a stop(); action within itself...

stop();
loadMovieNum("yoursecond.swf", 0);

The second movie wil replace the first one and should loop. Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
well, it almost worked... the second file played, but did not loop. I gotta get going now, so I'm putting it aside until tomorrow.

Thanks for the help so far... and I appreciate the help I will get in the future.

Jason
 
Ok... I got it to work... sort of. It works if I just play it in the flash player, as an exe file, and in Netscape 6.2. The second file won't play in IE 5 for some reason. Any thoughts?

Jason
 
This online(.swf) or projector(.exe) files? Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
These are .swf files that are called by a HTML webpage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top