3 Replies Latest reply on Jan 7, 2008 1:03 AM by Greg Dove

    Changing Registration point of a Movieclip

    R@j Level 1
      I have created a rectangle with the following code:

      this.createEmptyMovieClip("square_mc", 1);
      square_mc.moveTo(0, 0);
      square_mc.lineTo(100, 0);
      square_mc.lineTo(100, 100);
      square_mc.lineTo(0, 100);
      square_mc.lineTo(0, 0);

      Now, I want to change its registration point from top-left corner to its center using ActionScript code....
      Can anyone tell me how to do this?... any idea guys???