Using the XML class to embed XML
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> public var usersXML:XML= <users> <user id="1">A</user> <user id="2">B</user> </users> </mx:Script> </mx:Application>