I have created a movie clip that has buttons on it which need to refer to the main timeline. The clip is duplicated using the duplciateMovieClip function, but now the buttons don't work. Anyone know what is going on here?
Printable View
I have created a movie clip that has buttons on it which need to refer to the main timeline. The clip is duplicated using the duplciateMovieClip function, but now the buttons don't work. Anyone know what is going on here?
You have to reference the right timeline.
on(release){
_root.gotoAndPlay(5);
}
...or better, use framelabels.
on(release){
_root.gotoAndPlay("myFrameLabel");
}
I do use _root.gotoAndPlay(...), but it still does not work, or if I use a scene and frame, it will always go to the first scene. I am very confused by this!
You can not reference scenes from outside the main timeline.
Did you name the frame (framelabel)?
Show me your button actions and what you named the frame.
If your movie is loaded into a movieclip it wont work ( just making shure).