I use this:

if(System.capabilities.playerType == "External"){  //running locally
        local = true;
}else if(System.capabilities.playerType == "ActiveX" ||
System.capabilities.playerType =="PlugIn"){  //runnning in a browser
        local = false;
}

var contentXML:XML = new XML();
contentXML.ignoreWhite = true;
contentXML.onLoad = xmlLoadHandler
if(local){
        contentXML.load("content.xml");
}else{
        contentXML.load("content.xml?cb="+getTimer());
}


Jason Merrill
Bank of America 
Learning & Organizational Effectiveness
 
 
 
_______________________________________________
[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