A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: changing the rotation point

  1. #1
    Senior Member
    Join Date
    Aug 2002
    Posts
    109

    changing the rotation point

    there is a center point for movie clips for rotations...they can be changed by editing the movie clips yet I want to know if they can changed by scripting so that during a movie play, user can change the rotation point by clicking on the rotating object.

    'll appriciate any comments.

  2. #2
    TeePee
    Join Date
    Sep 2002
    Location
    Brisbane, Australia
    Posts
    52
    There's no actual way of scripting what you said, although you can easily overcome this difficulty by making the drawing inside the mc, an mc. so its an mc in an mc. you can then target the higher level mc and change its x and y pos
    MSN:Teepee47_@hotmail.com

    TeePee

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    1,838
    Yes, I think putting the mc into a parent. Rotate the parent and change mc position to achieve what you want would be a convenient way.

    Theorectically we still can use script to do it. It needs some MATH.

    Here is the example:
    Attached Files Attached Files

  4. #4
    Senior Member
    Join Date
    Aug 2002
    Posts
    109

    that is it!

    thnx ericlin..

    precisely what i want..I'll feedback when i evaluate and master the code

    kann

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