Hello,
I just discovered something weird.
I have made a movie with different scenes in it.
If I use a button, which is on the main stage, to go to the next scene everything works fine. If I use a button which is inside a mc the same actionscript doesn't seem to work anymore.
Here's the actionscript:
on(press)
{
gotoAndPlay("scene2", "start"
;
}
I've also tried
on(press)
{
_root.gotoAndPlay("scene2", "start"
;
}
but that doesn't seem to work either.
Can someone help me out?
karenina.
I just discovered something weird.
I have made a movie with different scenes in it.
If I use a button, which is on the main stage, to go to the next scene everything works fine. If I use a button which is inside a mc the same actionscript doesn't seem to work anymore.
Here's the actionscript:
on(press)
{
gotoAndPlay("scene2", "start"
}
I've also tried
on(press)
{
_root.gotoAndPlay("scene2", "start"
}
but that doesn't seem to work either.
Can someone help me out?
karenina.