Thanks, Jason. That not only works, it makes it clear why mine didn't
work (trying to pass a query string to the local player).
- Marc
At 11:04 AM 2/15/2007, you wrote:
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
___
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
___
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