homepage Welcome to WebmasterWorld Guest from 50.19.155.235
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library : Charter : Moderators: eelixduppy

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved