/ Published in: ActionScript 3

Simple but useful
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Create a movieclip and tick export for actionscript in the creation dialog. Give it a class. That class is how you identify it in your code: //Here, the movieclip's class is Button var _button:Button = new Button(); function CreateButton() { this.addChild(_button); }
Comments
