using buttons to go to a frame number
Posted on 2012-09-05
I'm using Flash 5.0 action script 3. I have three movies.
On the main timeline, frame 1 has stop(); to stop the main timeline movie before it plays.
Frame 2, 3 and 4 each has a movie clip.
I want to use button clicks of buttons 1,2, and 3 to each go to a different frame and stop there and play the movie clip in that frame without going to the next frame of the main timeline.
The buttons are all on the main timeline.
On my action script layer in the main timeline, I am using this
It does nothing.
I've tested each of my movie clips and they all work, but they don't seem to play when I use the button click to go to the frame the movie clip is on and stop or stay on that frame.
I can't use gotoAndPlay because that will continue along the main timeline.
I would attach the fla file, but EE doesn't like that and instead they replace the fla file extension with xfl and then tells me it's not in the allowed file extension list. Not the first time I've had this problem with their attachment policies. I've tried renaming to .txt, but its still the same weird block where it changes the file extension to xfl and then rejects it