Hi,
You can do by using same basic method to load and parse xmls.
private function init():void
{
var ul:URLLoader = new URLLoader();
ul.addEventListener(Event.COMPLETE, completeHandler);
ul.load(new URLRequest("xml/test.xml"));
}
//XML LOAD HANDLER
private function completeHandler(evt:Event):void
{
var xml:XML = new XML(evt.target.data);
trace (xml);
trace("----------------");
trace (xml.name_set);
trace("----------------");
trace (xml.name_get);
}
OUTPUT IS:
<root>
<name_get>100</name_get>
<name_set>200</name_set>
</root>
----------------
200
----------------
100
NOTHING SPECIAL IN THIS XML
regards,
Sumant
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---