Attributes Are Properties
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Button id="myButton" label="Click Me" /> </mx:Application> <!-- which has the equivalent ActionScript: import mx.controls.Button; var myButton:Button = new Button(); myButton.label = "Click Me"; addChild(myButton); -->