A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: help! - outlining external image

  1. #1
    Member
    Join Date
    Feb 2006
    Location
    Amsterdam, The Netherlands
    Posts
    53

    help! - outlining external image

    hey there!

    i've made this fla that loads in an external image via a textfile and now i wanna animate it.

    i want it to cirlce 2 time around his own center but it doesn't work!
    it only revolves around the cross? (don't know how you call it.. pivot point?) of the movieclip and i can't get it to work..

    someone PLEASE help me out!
    thanks in advance guys/girls/whatevers
    Attached Files Attached Files

  2. #2
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    It's called the "registration point". And Actionscript always does it's rotation and scaling relative to that point.

    If you need the loaded image to rotate around it's own center you need to use a setup of two movieclips. You'll need one movieclip that you will use to rotate the image. Inside this movieclip you should put another movieclip. And into that movieclip you load your picture. Then when the picture is loaded you center the image movieclip inside the one you wan't to rotate.

    - I hope I made some sense

    /Mirandir

  3. #3
    Member
    Join Date
    Feb 2006
    Location
    Amsterdam, The Netherlands
    Posts
    53
    hey!

    thanks for the knowhow, but it still doesn't work!
    i've outlined in to the center of the registrationpoint, but it keeps aligning itself on the top-right-side of the mc.

    what's going on??!! whaha

    this is the zip with everything in it. (fla, txt-file and pic) so you can see what's happening.. hope it helps you out by helping me solve this problem
    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