Copy link to clipboard
Copied
Does anyone know why the code
on (release) {
root.nextFrame(5);
}
would not work? It is on a button and for some reason it is not working on one frame?
Thanks for your help!
In AS2 it is "_root", and nextFrame() does not accept any arguments, it only does what it says, goes to the next frame in the timeline. If you want to go to frame 5 and frame 5 is not the next frame, then you need to use gotoAndStop(5).
Copy link to clipboard
Copied
In AS2 it is "_root", and nextFrame() does not accept any arguments, it only does what it says, goes to the next frame in the timeline. If you want to go to frame 5 and frame 5 is not the next frame, then you need to use gotoAndStop(5).
Copy link to clipboard
Copied
You are right! Something so simple that I accidently erase. Duh!
Thank you! again
Copy link to clipboard
Copied
You're welcome
Find more inspiration, events, and resources on the new Adobe Community
Explore Now