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


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



Copy this code and paste it in your HTML
  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();

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.