Here's my problem: I've created a simple Flash slideshow with buttons that play the slides, stop the playhead and also next and back buttons.
All of these are on a layer named Buttons and they all work perfectly.
I also created another button that takes the playhead to a small sequence that's at the end of the original timeline. The first frame of this little sequence has a label that the button points to. Still no problem. This new button does what it's supposed to do.
My problem came in when I finally decided that I wanted to last frame of the small sequence to return the playhead to a specific frame.... other than the first frame. When I added the code: gotoAndStop(2), or gotoAndPlay(2), the playhead does indeed to to the second frame but for some reason it deactivates the code that controls the other buttons.
When I remove the code in this last frame all of the buttons work fine. Adding it disqualifies the code for the other buttons.
Can anyone help me understand why this happens? Also, can you offer a suggestion for how to cause the last frame to move the playhead to a designated frame without canceling the control of the other buttons?
Thanks in advance for your help,
when your last-frame code executes does any frame play that does NOT include all your buttons? if so, you'll need to re-execute your button handlers for any and all buttons that failed to exist (even if only momentarily). and you'll need to execute those handlers when your buttons exist (again).
kglad you saved the day!
What your reply did was make me notice that there were no frames with buttons at the point in the timeline where the return code was. As soon as I added a few more frames to the layer where the buttons were the return code worked and, when the playhead landed on the frame I wanted it to, the buttons in that frame worked also.
I'm not sure I understand what the principle is here but I'm very glad this is solved.
Thanks very much,