Move Children in the display list to different layers


/ Published in: ActionScript 3
Save to your folder(s)

Paper and redPhone are names of items on the stage.


Copy this code and paste it in your HTML
  1. swapChildren(paper, redPhone)
  2.  
  3.  
  4. Another way is
  5.  
  6. b21.setChildIndex (b21.b301, (b21.numChildren - 1));

Report this snippet


Comments


You need to login to view comments.