MXML vs ActionScript
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Button id="button" label="Click" /> </mx:Application> <!-- var button:Button = new Button( ); button.label = "Click"; -->