Copy link to clipboard
Copied
Hi im new with advanced layers thing but i wanna know if there is a method i could use for make buttons
cuz i tried with something like "
Button.buttonMode = true;
Button.addEventListener(MouseEvent.CLICK,test);
function test(event:MouseEvent):void
{
gotoAndPlay(0);
}
" but it only work without advanced layers
Hi mate,
See if this link brings some clarity:
https://helpx.adobe.com/animate/using/timeline-layers.html?mv=product&mv2=an#advanced-layers
Copy link to clipboard
Copied
Hi mate,
See if this link brings some clarity:
https://helpx.adobe.com/animate/using/timeline-layers.html?mv=product&mv2=an#advanced-layers
Copy link to clipboard
Copied
oh thx very much!
Copy link to clipboard
Copied
Hi.
Also please be aware that in AS3 documents the index of the first frame of a timeline is 1 and not 0.
Regards,
JC