A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: change cartesian landmarks

  1. #1
    Junior Member
    Join Date
    Feb 2010

    Question change cartesian landmarks


    I would like to change the cartesian landmarks, by default the point 0,0 is on the top-left of the stage. And I want to change it to the middle of the stage, is it possible? If it is, how can I do this?

  2. #2
    Junior Member
    Join Date
    Feb 2010
    Devon, UK
    I don't believe so - at least, to change the actual stage.

    But an easy - and very useful - workaround is to create a separate sprite/movieclip/whatever. Simply set it's position to be in the middle of the stage and then you just add all your other objects to that sprite; now you have 0,0 in the center! Plus, now you can move that sprite and pan the entire set of objects.

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