dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [MX04] Please help with rotation function

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    18

    [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

  2. #2
    :
    Join Date
    Dec 2002
    Posts
    3,518

    Maybe try something like this...

    See attached file.
    Last edited by dawsonk; 08-22-2007 at 10:51 AM.

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Posts
    18

    Thank you

    Worked like a hooker on midnight, thanks man

  4. #4
    Member
    Join Date
    Feb 2003
    Location
    Calgary, Alberta, Canada
    Posts
    91
    Could I possibly get that attachment?
    I love Oren Ishii!

  5. #5
    :
    Join Date
    Dec 2002
    Posts
    3,518
    See attached file...
    Last edited by dawsonk; 06-25-2008 at 05:34 PM.

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