3 Replies Latest reply on Jul 31, 2010 11:57 AM by Ned Murphy

    How to center image using loadMovie?


      I'm trying to load an image and center it within a movie clip already on the stage.


      function loadImage(){
          image_mc._x= Stage.width/2 - image_mc._width;
          image_mc._y= Stage.height/2 - image_mc._width;


      I know it's something simple and there are forums dedicated to this topic but I can't seem to view the code examples that the helpers are using.


      Thanks in advance for any suggestions.