private function moveToHighestDepth(displayObject:*):void{ var curParent = displayObject.parent; curParent.removeChild(displayObject); curParent.addChild(displayObject); }
Why not just use DisplayObjectContainer’s “setChildIndex” method?
You must be logged in to post a comment.
Why not just use DisplayObjectContainer’s “setChildIndex” method?