A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Rotating to a specific spot in a MC onRelease?

Threaded View

  1. #1
    Junior Member
    Join Date
    Feb 2006
    Posts
    12

    Rotating to a specific spot in a MC onRelease?

    Hi, I am new to actionscripting, so please be gentle!

    On my stage, I have a movie clip called "main." Inside "main," I have 4 other MC symbols (named "green" "red" "blue" and "orange").

    I have the MC's placed so that only the "green" MC is showing in the center of the stage. The other symbols are off the stage, out of view.

    On the main stage, I also have a navbar, with 4 buttons (named "green_btn" "red_btn" "blue_btn" and "orange_button").


    What I want to do is: When you click on "blue_btn" the MCs will rotate clockwise so that "blue" is showing in the center of the stage. When you click on "red_btn," the MCs will rotate clockwise so that "red" is showing in the center of the stage, and so on.

    Does that make sense?? I will include an .FLA of the setup.

    I don't know how to do this with actionscript. I can only do it with tweening, and that only works if I click the buttons in order. Please help. Thank you in advance!
    Attached Files Attached Files

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