How do I make my "Go to frame and play " button work with advanced layers on?
Hello there, I hope anyone can help me with this as I can't seem to find a solution anywhere at all on the internet for such a simple problem. I have a button on its own layer called rock_button_layer, and the code snippet on the button "go to a frame and play". Here is the code.
Rock_button1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_8);
function fl_ClickToGoToAndPlayFromFrame_8(event:MouseEvent):void
{
gotoAndPlay(1560);
}
I need to keep advanced layers on as its important for my animation. All I want is for my button to work and I just can't seem to rack my brain over how to change the code with advanced layers on.
I hope someone can explain this to me please, thank you.
