-
[MX04] gotoAndPlay then gotoAndPlay
Newbie here... how would you do this...
if (_currentframe=="concept_stop" or _currentframe=="develop_stop" or _currentframe=="gallery_stop") {
gotoAndPlay(_currentframe + 1) THEN gotoAndPlay("develop_start");
} else {
gotoAndPlay("develop_start");
Basically, I want it to play the frame after the current frame until it stops, then play the develop start frame... how would you do that?
-
after the playhead plays the stop labels+1 and reaches the end of that particular animation, put your gotoAndPlay("develop_start") on these end keyframe. As it seems, from your post, that it always goes there, you wouldn't need to use a variable.
Also replace all your 'or' by || as in:
if (_currentframe=="concept_stop" || _currentframe=="develop_stop" || _currentframe=="gallery_stop")
or has been deprecated for a very long time now
gparis
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|