/ Published in: ActionScript 3
![](/img/icon_sav.png?v3)
Add this to your Utilities class and use it like Utilities.moveToTop(your_clip);
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static function moveToTop(child:DisplayObject):void{ (child.parent != null) ? child.parent.setChildIndex(child, child.parent.numChildren-1) : null; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)