Define and reference Model
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Model id="userData"> <user> <email>e@e.com</email> <phone>123 555-1212</phone> <address> <city>city</city> <state>CA</state> </address> </user> </mx:Model> <mx:Button click="trace(userData.email)" /> </mx:Application>