A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Rotation Control

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    6

    Rotation Control

    I would like to be able to control the rotation of a MC via a few buttons - setting the MC to rotate to assigned positions. Instead of just having the MC rotate, I want it to spin (and to control the spin speed) and ease to a stop at the assigned/selected position. This MC needs to rotate on its center point.

    Any help would be wonderful. I can get objects to rotate no problem, but I have not been able to control the stop points.

  2. #2
    Senior Member
    Join Date
    Nov 2002
    Location
    Maryland, USA
    Posts
    428
    Is the user rotating or so that they automatically rotate?

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Posts
    6

    follow up

    The User would click on a button and the MC would then rotate to the set position assigned on the button (multiple buttons for multiple positions).

  4. #4
    Lord of the Singhs
    Join Date
    Mar 2002
    Location
    India
    Posts
    342
    i think i have wht u need .. gimme a 10-15 mins to search thru my fla's

    regs
    CooL "N" CalM

    my body is sore
    my eyes are red
    i still itch for more
    before i hit the bed

  5. #5
    Lord of the Singhs
    Join Date
    Mar 2002
    Location
    India
    Posts
    342
    here u go
    Attached Files Attached Files
    CooL "N" CalM

    my body is sore
    my eyes are red
    i still itch for more
    before i hit the bed

  6. #6
    Junior Member
    Join Date
    Apr 2003
    Posts
    6

    Thanks!

    Thanks much - some good insight into rotating an object... I need to figure out how to get it to rotate and stop at a given/specific spot.

    Thanks for your help! Any other thoughts would be great!

  7. #7
    Lord of the Singhs
    Join Date
    Mar 2002
    Location
    India
    Posts
    342
    just calculate the angle by which it needs to be rotated and then change the angle variable by that value.

    regs
    CooL "N" CalM

    my body is sore
    my eyes are red
    i still itch for more
    before i hit the bed

  8. #8
    Junior Member
    Join Date
    Apr 2003
    Posts
    6

    Big Thanks!

    Hey - thanks big time for the help on this one!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center