|
Creating a rotating arm with pivot - ideas?
Hey guys - as I said in my other thread, I haven't written code for a long time and I'm new to Flash and AS. Decided to pick up AS3 by making a project, but going pretty slow so far. Basically trying to make a turntable and add functionality as I go.
So - any ideas on how to make pivoted arm that the user can rotate? Is there any way to give the user the ability to do free transform? Or do I need to make a function that detects a mouse_down, figures out how far from the pivot point the mouse has moved and rotates the arm as long as the new position is within the correct range of motion?
Anyway, just wanted to ask before I make things difficult for myself - haven't been able to find any examples of this through google yet.
|