Highlighted

Making buttons with advanced layers

New Here ,
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

132

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

Making buttons with advanced layers

New Here ,
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

133

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
Jan 21, 2020 0
Guide ,
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

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
Reply
Loading...
Jan 21, 2020 1
New Here ,
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
Reply
Loading...
Jan 21, 2020 1
Adobe Community Professional ,
Jan 22, 2020

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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

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
Reply
Loading...
Jan 22, 2020 1