Copy link to clipboard
Copied
Hey guys,
Can't figure out something about my project. I would be glad if you could help me.
It seems to be a pretty simple question that I can't solve it myself as a beginner in js and Animate.
So I got a symbole button :
In this symbole button, I got 3 layers : "wood", "wood_aura" and "txt" which appear with a mouseover :
The thing is : the wood_aura and txt are covering the symbole button on my main stage... and I don't know how to reach the new button made of wood_aura and txt...
Trying to reach the new button into this simple function :
this.btn1.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
function fl_ClickToGoToAndStopAtFrame()
{
this.gotoAndStop(10);
}
Can you enlighten me on that ? Thanks A LOT !
the parent should be a movieclip.
Copy link to clipboard
Copied
use a movieclip button, not a simple button.
Copy link to clipboard
Copied
Hey, thanks for the reply.
Use a movieclip button as main button or when I'm already in ?
Can you please give me more details ?
Copy link to clipboard
Copied
the parent should be a movieclip.