coolsiteworkerb
04-14-2003, 05:32 AM
Ok, I have one scene, what will happen is you click a movie clip it goes to frame 8; then after the animation is finished from frame 8 - 22; it determines where to go by a variable placed into the 1st frame?
So in frame one I have in a movieclip button:
on (press)
{
_root.gotoAndPlay (8);
_root.set (wheretogo, Thatone);
}
(It does go to 8 - 22 but then does not stop and moves through the rest of the frames!) (I also tried using numbers, now attempted using frame names)
In 23 (a keyframe so animation will finish and then move on to this frame..) I put a variable just in the frame itself:
_root.gotoAndStop("wheretogo"); (I also tried just gotoAndStop)
It doesnt do this at all.. It doesnt go to the frame assigned to the variable location instead it just plays through all of the scenes.
So in frame one I have in a movieclip button:
on (press)
{
_root.gotoAndPlay (8);
_root.set (wheretogo, Thatone);
}
(It does go to 8 - 22 but then does not stop and moves through the rest of the frames!) (I also tried using numbers, now attempted using frame names)
In 23 (a keyframe so animation will finish and then move on to this frame..) I put a variable just in the frame itself:
_root.gotoAndStop("wheretogo"); (I also tried just gotoAndStop)
It doesnt do this at all.. It doesnt go to the frame assigned to the variable location instead it just plays through all of the scenes.