MovieClip changes Stage alignment

Posted by Nicholas Cowle on Stack Overflow See other posts from Stack Overflow or by Nicholas Cowle
Published on 2010-03-29T13:04:16Z Indexed on 2010/03/29 13:13 UTC
Read the original article Hit count: 186

Filed under:
|

I am loading a MovieClip using MovieClipLoader. When the MovieClip starts playing, it changes the alignment of my stage to LT, which incorrectly repositions all the other objects on my stage.

Is there anyway for me to:

  1. Prevent the MovieClip from changing the alignment of my stage?
  2. Adding an event handler to an appropriate event, so that I can reset the stage alignment when it gets changed?

I have already tried resetting the stage alignment on the onLoadInit event of MovieClipLoader and the onEnterFrame event of MovieClip, but both seem to reset the alignment too soon.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-2