Create a String variable for binding
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:String id="firstName">Alaric</mx:String> <mx:String id="lastName">Cole</mx:String> <mx:Label id="nameLabel" text="{firstName}" /> </mx:Application>