Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Get clicked symbol propreties

$
0
0

Hi there!

      Is there a way of acessing the symbol properties (id on stage, timeline, nested elements,etc ), from the click bind placed on the stage?

 

     For example:

          In flash i add the eventlistener. then the function receive the event type as a parameter, and i could just use for everything.

 

          bt.addEventListener(MouseEvent.CLICK, doSomething);

          function doSomething (e:MouseEvent)

          {

               //Here with the "e" variable correspond to the bt that was clicked

               e.currentTarget.visible=false;

          }

 

     How can i do this on edge?

    

 

     Thx for the help.

     João


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>