Posted By

russdogg on 07/13/11


Tagged

as3 Parent


Versions (?)

Using Parent Movieclip in AS3


 / Published in: ActionScript 3
 

  1. //Cast display object as a movieclip
  2. MovieClip(this.parent.parent).holderMc.x = 50;
  3.  
  4. //Another way, using "as"
  5. (this.parent.parent as MovieClip).holderMc.x = 50;

Report this snippet  

You need to login to post a comment.