Posted By

martin9999uk on 05/24/11


detect as3 playerType

Versions (?)

AS3 detect player type

 / Published in: ActionScript 3

I use this to load different config urls depending on whether the player is in browser or not.

  1. if (Capabilities.playerType == "StandAlone") xmlProxy.loadData("../xml/config.xml");
  2. else xmlProxy.loadData("xml/config.xml");

Report this snippet  


RSS Icon Subscribe to comments
Posted By: martin9999uk on May 24, 2011

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

You need to login to post a comment.