homepage Welcome to WebmasterWorld Guest from 54.196.120.58
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Only Play Scene 1
flash plays all scenes when looping
cookiemonster




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

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!

 

rocknbil




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved