|
-
Simple rotation
So I've been trying to find the answer to this but I either find something too complicated or something too simple.
I have a flash file with a circle in the middle and a button on the side.
The circle is called "faces". On the button I currently have this:
on (press) {
faces._rotation += 90;
}
When I press the button it turns the circle 90 degrees and that works fine. But now what I want to do is have it turn smoothly. Right now when I press the button it jumps to the next position. I'd rather have it move in increments of 5 until it turns 90 degrees. (And if you press it again I want it to go to 180, then 270, etc etc.)
It seems like it should be very simple but as I said, I keep either finding what I already know how to do or find something extremely complicated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|