Animating through Actions Panel


general question:

how can access symbols on stage can  manualy code javascript functions animate them?

my goal code in main action panel how actionscript codes run functions animate symbols on stage on addeventlistener()

 

my understanding instead of actionscript language, code javascript instead in action panels. javascript functions or command lines doesnt work...

 

scenario:

i want relocate samplesymbol when button clicked

 

following code placed on click trigger button.

 

sym.$("samplesymbol").style.left = '100px';  <---this doesnt work...

 

sym.$("samplesymbol").hide() <--this works, means m accessing symbol correctly.

you're close.

 

sym.$("samplesymbol").css("left", "100px");

 

the javascript api doc out lot - go > animate javascript api , you'll find link.

 

cheers,

 

-elaine



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account