Instantiate an object and add it to display list and give it a name all in one go

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

Copy this code and paste it in your HTML
  1. addChild(new CustomLibraryClass()).name = "myMovie";

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.