You trace before the onLoadis actually triggered
Try putting the trace in your in your onLoad

Latcho

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