A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [MX04] Please help with rotation function

Threaded View

  1. #1
    Junior Member
    Join Date
    Jan 2007

    [MX04] Please help with rotation function

    ok so i am trying to figure out how to write this code but have bumped into a bit of a wall. So i have a circle that has 6 buttons in it. I want to come up with a function that would rotate the wheel (movie clip) to a desired x,y cordinates, when the button inside the movie clip is pressed, it would rotate to that desired button (button rotates to the specified x,y cordinates). The trickiness though is that after you press the button and press another it has to remeber that the wheel has already been offset and spun. I realize this must mean i need to involve a current position variable, but do not know how. PLEASE PLEASE HELP........
    Attached Images Attached Images

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