homepage Welcome to WebmasterWorld Guest from 54.197.94.241
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

    
Is there any way to exit in actionscript?
A simple actionscript question.
MartinWeb




msg:3925241
 3:33 am on Jun 3, 2009 (gmt 0)

Is there a code that will stop a frame of actionscript from running? I know in PHP that there are the exit(), and die() codes.

(Oops. Sorry about the misspelling in the title)

[edited by: MartinWeb at 3:33 am (utc) on June 3, 2009]

 

rocknbil




msg:3925413
 7:59 am on Jun 3, 2009 (gmt 0)

stop();

If you want to skip a frame,


frame20.........¦frame21.........¦frame22.....
goToAndPlay(22);¦................¦............

Or rewind,

goToAndStop(1);

or halt based on conditions,

if (condition1) {
stop();
// or goToAndStop(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