Hi,

   Apologies, I missed your other question:

You can extend the XML object to include a reference to its parent - which would contain a function that allowed you to parse it and do things with your movie, like so:

 var external_xml:XML = new XML();

 external_xml.parent = this;

 function xmlHandler(success:Boolean) {
       if(success) }
                //Do stuff with external_xml here.
                //it's not quite external_xml.state.california[2], you will have to 
"walk" your XML tree.
                //have a look at the documentation for XMLNode - childNodes, 
firstNode and attributes should help
        } else {
                trace("xml failed to load.");
        }
 }

 external_xml.onLoad = function(success:Boolean) {
        parent.xmlHandler(success);
 }

Glen
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to