Return to Snippet

Revision: 13063
at April 7, 2009 09:50 by creativelifeform


Initial Code
//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);
}

Initial URL


Initial Description
Simple but useful

Initial Title
Accessing Library elements

Initial Tags


Initial Language
ActionScript 3