A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: changing the center point of a graphic

  1. #1

    changing the center point of a graphic

    hi
    i have a bit of code that changes the _height of a graphic in a clip so that it gradually gets taller or shorter - that works fine except that the center point(? - the circle with the little cross in it)is top left, so when the height changes it's the bottom edge that slides up and down and not the top ...

    so, how can i change the center point to bottom right?

    i know that this is a stupidly simple question but just can't find the thing to do it !!!!!

    thanks for any help you can give

    Bob

  2. #2
    Senior Member
    Join Date
    Apr 2000
    Location
    Northern Ireland
    Posts
    2,146
    Edit the symbol, select everything and move it all so that the crosshairs are in the middle at the bottom.
    ----------
    "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." TERRY PRATCHETT

  3. #3

    thanks

    i hadn't thought of that - instead of moving the center point, move everything else - i like it !!
    Bob

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