/ Published in: ActionScript 3
I use this to load different config urls depending on whether the player is in browser or not.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (Capabilities.playerType == "StandAlone") xmlProxy.loadData("../xml/config.xml"); else xmlProxy.loadData("xml/config.xml");