Making buttons with advanced layers

New Here ,
Jan 21, 2020 Jan 21, 2020

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

TOPICS
ActionScript, Code, How to, Missing feature

Views

181

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Guide , Jan 21, 2020 Jan 21, 2020

Likes

Translate

Translate
Guide ,
Jan 21, 2020 Jan 21, 2020

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

 

Nick – Character designer and animator, Flash user since 1998
Member of Flanimate Power Tools team – extensions for character animation – flash-powertools dot com

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 21, 2020 Jan 21, 2020

Copy link to clipboard

Copied

oh thx very much!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jan 22, 2020 Jan 22, 2020

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines