View Full Version : gotoAndPlay frame label adds three frames
Munkiegrl
May 2nd, 2006, 11:39 AM
Hi-
I have a movie that is divided into frame labels. When I code a gotoAndPlay("myFrameLabel"); the movie goes to the correct label but consistently adds an additional 3 frames.
For example, it goes to the third frame of "myFrameLabel" instead of the first. There are more than three frames in this label and there is not stop action on the third frame.
Any ideas? Has anyone ever experienced this?
BIZARRRREEE.
jimhere
May 2nd, 2006, 12:28 PM
Where's the "stop" compared to the beginning of "myFrameLabel"? Or would "gotoAndStop" work?
lunatic
May 2nd, 2006, 12:43 PM
For example, it goes to the third frame of "myFrameLabel" instead of the first. There are more than three frames in this label and there is not stop action on the third frame.
Why are there more than ONE frame for a frame label? A frame label is like an instance name for a movieclip - you are going to really confuse Flash if you have more than one movieclip with the same instance name. Same thing if you have more than one frame with the same frame label - Flash doesn't know which one to go to. Select ONE single frame and give it a frame label. If you don't have a stop on that frame the playhead will continue to advance until it hits one (a stop command that is).
Munkiegrl
May 2nd, 2006, 02:43 PM
Where's the "stop" compared to the beginning of "myFrameLabel"? Or would "gotoAndStop" work?
It doesn't matter where the stop(); is, it still acts wacky. I've tried the stop on the first frame, I've even tried placing a stop on the first second and third frames and flash inores all of them. gotoAndStop(); also doesn't get a response from Flash. It continues to call the third frame.
lunatic
May 2nd, 2006, 02:47 PM
read my post - Flash will go to the farthest frame that has that frame label.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.