Posted By

mswallace on 07/11/07


Tagged

object variable child addChild


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

copyleft
gismo
abdsign
THEPWN3R
TrentSkunk


Create an object that you can load SWF's Into for your addChild


 / Published in: ActionScript 3
 

URL: http://board.flashkit.com/board/showthread.php?p=3903435#post3903435

  1. var child:Object=mySwfLoader;
  2. myEmptyMC.addChild(child);
  3.  
  4. //this changes it to a new thing because I'm setting child which is already added to the MovieClip to something new
  5. child=new Object();

Report this snippet  

You need to login to post a comment.