Donelson
asked on
frame break;
Is there a way to go to a new frame and NOT FINISH the ActionScript on the current frame
for example:
a = 1;
b = 2;
if (quit_request) {
gotoAndPlay(2);
break from this frame;
}
c = 3;
d = 4;
....... etc etc
I want the playhead to go IMMEDIATELY to frame 2, WITHOUT completing the rest of the script shown...
Thanks
for example:
a = 1;
b = 2;
if (quit_request) {
gotoAndPlay(2);
break from this frame;
}
c = 3;
d = 4;
....... etc etc
I want the playhead to go IMMEDIATELY to frame 2, WITHOUT completing the rest of the script shown...
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Oh well.
Thanks.
Or, I could put everything into a function...
if (quit_request) gotoAndPlay(2);
else frame5();
frame5 function () {
blah...
}
If I want the (quit_request) on every frame, the second way might be cleaner...