Construct instance name procedurally


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



Copy this code and paste it in your HTML
  1. ///AS3.0\\\
  2. this["my_mc" + i];
  3.  
  4. or:
  5.  
  6. ///AS3.0\\\
  7. this.getChildByName("my_mc" + i);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.