Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : Accessing frame of the main timeline from a button in a MC


GSB
3/23/2004 10:01:14 PM

I have 4 frames in a movie. I have a movie clip in the first frame. This MC
has a button. On click of this button, I want the play to go to one of the
frames in the movie. A simple
on (release) {
gotoAndPlay("secondframe");
}
doesn't seem to work. How do I access the main timeline from the button in
the MC?

-S

kglad
3/24/2004 6:47:07 AM
on (release) {
_root.gotoAndPlay("secondframe");
AddThis Social Bookmark Button