Hello,
I have a button that has a simple gotoAndPlay method that works perfectly.
Code here:
on (release)
{
gotoAndPlay("Intro", 1);
}
I want to have a button that has a dynamic label that changes according to a variable so I made a new button in the form of a movie clip. When I try to activate the same code in the movie clip's onRelease method it doesn't respond.
Here's the code in the movie clip:
on (release)
{
_root.gotoAndPlay( "_root.Intro", 1);
}
on( rollOver )
{
gotoAndStop("over");
}
on( rollOut )
{
gotoAndStop("down");
}
I've tried every possibility I can think of such as
_parent.gotoAndPlay( "_root.Intro", 1);
Any ideers?
Clem C
I have a button that has a simple gotoAndPlay method that works perfectly.
Code here:
on (release)
{
gotoAndPlay("Intro", 1);
}
I want to have a button that has a dynamic label that changes according to a variable so I made a new button in the form of a movie clip. When I try to activate the same code in the movie clip's onRelease method it doesn't respond.
Here's the code in the movie clip:
on (release)
{
_root.gotoAndPlay( "_root.Intro", 1);
}
on( rollOver )
{
gotoAndStop("over");
}
on( rollOut )
{
gotoAndStop("down");
}
I've tried every possibility I can think of such as
_parent.gotoAndPlay( "_root.Intro", 1);
Any ideers?
Clem C