Mega Code Archive
Categories
/
Flex
/
Container
An HBox container with a Button control
import mx.controls.Button; public function addButton():void { var myButton:Button = new Button(); myButton.label = "New Button"; myHBox.addChild(myButton); }