Welcome to WebmasterWorld Guest from 54.162.239.134

Forum Moderators: open

Message Too Old, No Replies

Only Play Scene 1

flash plays all scenes when looping

     
1:06 am on Jan 6, 2010 (gmt 0)

5+ Year Member



How can I make it so that when the flash movie is playing, it only plays Scene 1 instead of all the scenes?

PS. I'm using Flash CS4 and AS3 (will use AS2 if needed).

Thanks!

2:54 am on Jan 6, 2010 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



In your timeline, add stop(); at end of scene 1.

For all the others, add stop(); at frame 1. You may have to add an empty frame to avoid showing anything on the stage.

If you wish them to play sequentially, add a scenename.goToAndPlay(2) at the ends of the previous ones - by doing that, you'll skip the stop at frame 1.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month