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
Post a Comment