flash.system.Capabilities.playerType = “PlugIn”;//firefox
flash.system.Capabilities.playerType = “ActiveX”;//ie