Posted By

arpo on 04/30/09


Tagged

to move top swapDepth


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

damarev
sherakama


Move MovieClip to top


 / Published in: ActionScript 3
 

  1. private static function moveToTop( clip:DisplayObject ):void
  2. {
  3. clip.parent.setChildIndex(clip, clip.parent.numChildren-1);
  4. }

Report this snippet  

You need to login to post a comment.