PDA

View Full Version : movie clip trouble!!


mindsplit
06-21-2002, 06:37 PM
i have a button inside a movie clip and need to go to a certain frame outside the movie clip in the main timeline...it only goes to that frame inside that movie clip...help!!

pinkaboo
06-21-2002, 08:36 PM
take a read of the path tutorials in the beginners section on this site, that should help you sort out pathing and actually understand how addressing works.

but, you should find that


_root.gotoAndPlay("myFrameLabel");
//or
_root.gotoAndPlay(frameNumber);


will do the trick. (gotoAndStop if you don't want it to play)

pinK

tg
06-21-2002, 10:05 PM
or to be more dynamic, cause ya might have mc's nested use

_parent.gotoAndPlay(frameNbr);

pinkaboo
06-21-2002, 10:15 PM
um, I might be addled but I thought mindsplit said the frame was on the main timeline - _parent would only address a step above surely? - which would be fine if you were one stage down, but two or three?