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: 223
flash
|actionscript-2
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:
- Prevent the
MovieClipfrom changing the alignment of my stage? - 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