Question
Using Advanced Layers way of accessing button but still not working
- April 13, 2020
- 1 reply
- 315 views
Even after using the correct way of accessing an object when Advanced Layers is ticked, I am not able to access the object. The comipler is not showing any errors but when testing, it won't even recognise the button as a button. It doesn't even change the cursor and when clicked, nothing happens.
stop();
GrowButton.home.addEventListener(MouseEvent.CLICK, start);
function start (event:Mouse event):void
{
gotoAndPlay(105);
}
