Movieclip stacking in Actionscript

Posted by Glycerine on Stack Overflow See other posts from Stack Overflow or by Glycerine
Published on 2010-03-31T04:39:27Z Indexed on 2010/03/31 4:43 UTC
Read the original article Hit count: 362

I'm building a game of which the interface is one of the first items to load on screen. Sound button, pause and all the bits -

During the game - all manor of things are dynamically added and removed to the stage. Therefore my interface goes behind my game scene.

How do I ensure the movieclip always stays on top?

Can I override the addChild of my Document Class and every time a new child is added, I restack the interface to the top?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about movieclip