Welcome to WebmasterWorld Guest from 54.205.119.93

Forum Moderators: open

Message Too Old, No Replies

Is there any way to exit in actionscript?

A simple actionscript question.

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

5+ Year Member



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]

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

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



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);
}

 

Featured Threads

Hot Threads This Week

Hot Threads This Month