|
-
root.gotoAndPlay(5) will not in the enterframe (as the playhead will keep on going to that frame and never pass it)
You'll need to delete the enterFrame first:
Buttons.onEnterFrame = function() {
if (button01 && button02 && button03 && button04) {
delete Buttons.onEnterFrame;
_root.gotoAndPlay(5);
}
};
gparis
-
Right now the mc that has the buttons and this script is running on Frame 4 of the main timeline. When all the buttons have been clicked I want it to go to Frame 5 or the next frame in the main timeline.
Buttons.onEnterFrame = function() {
if (button01 && button02 && button03 && button04) {
delete Buttons.onEnterFrame;
_root.gotoAndPlay(5);
}
};
does this delete my mc? I put it in the 1st frame of the mc but it's still not advancing.
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
|