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

Simple: how to rotate a symbol onclick?

$
0
0

Well, my old Flash and AS skills seem to be pretty useless with Animate. Every resource online I have looked at goes on and on about making things jump around as the Timeline runs. That's not what I need to do.

 

All I really need to know is how to use an onclick event to make something else on the stage move in a precise way.

 

I have a symbol I'll call "wheel".  I have another symbol I'll call "button"

 

When the user clicks on "button," I want "wheel" to rotate 45° around its axis. I can't find a listing of Edge code syntax anywhere.

 

I opened the Action panel for "button". Not much help in that right hand menu.

 

 

sym.$("wheel")  addresses the symbol I need - but then what? I could address this with CSS/JS, but surely there's a SIMPLE way to do this with Edge??? Or should I go back to Flash and use the HTML stage feature?

 

If it wasn't for the ubiquity of iOS devices, I wouldn't have had to abandon Flash development. But both Flash CC/HTML and Edge are looking pretty clunky as real tools for cross-platform animation as compared with just doing all the scripting by hand...

 

Am I missing something really obvious?


Viewing all articles
Browse latest Browse all 9897

Trending Articles