/ 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
if (Capabilities.playerType == "StandAlone") xmlProxy.loadData("../xml/config.xml"); else xmlProxy.loadData("xml/config.xml");
Comments
Subscribe to comments
You need to login to post a comment.

Capabilities.playerType == "StandAlone" shoule be Capabilities.playerType == "External"