• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

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

505

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

Guru , Jan 21, 2020 Jan 21, 2020

Votes

Translate

Translate
Guru ,
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 the Flanimate Power Tools team - extensions for character animation

Votes

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!

Votes

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
Community Expert ,
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

Votes

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