Binds variables to Label
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initVars()"> <mx:Script> [Bindable] public var myName:String; private function initVars():void { myName = Application.application.parameters.myName; } </mx:Script> <mx:VBox> <mx:HBox> <mx:Label text="Name: " /> <mx:Label text="{myName}" fontWeight="bold" /> </mx:HBox> </mx:VBox> </mx:Application>