If you want to trace out your xmlData then put that trace INSIDE the onLoad function.
otherwise you will get nothing back !

don't forget, these are asynchronus functions ->  load  and onLoad

HTH

Omar Fouad wrote:
class LoadXML {

    function LoadXML() {
        var xmlData:XML = new XML();

        xmlData.ignoreWhite= true;
        xmlData.onLoad = function (success) {
            if(success) {
                trace("loaded");
            }
        }
        xmlData.load("data.xml");
        trace(xmlData);
    }
}
this is not working

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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