where's the code for that pink button?
it should be on the first keyframe where the pink button appears and there should be no other keyframes that contain the pink button (during debugging).
also, your code needs to be correct and there are numerous ways this could fail. to be sure, you should be using a developers console to test and start by seeing if there are any errors when clicking the pink button.
so this is my very simple timeline. The pink button first appears in frame 20.
I have this code on frame 1;
And this code at frame 20;
1 person found this helpful
frame 1 is actually the 2nd frame. you probably want:
even with that code, nothing happens when I click the pink button
Oh, i have just changed the go to in the coding in frame one to this.gotoAndStop(19) instead of 20 and now it works perfectly.
Thanks so much for your help!!
(p.s when using the adobe forums, please mark helpful/correct responses, if there are any.)