Working with ActionScript 3.0, is there a way to determine if my SWF file is been played in the standalone Flash Player or using a browser plugin?
Asked
Active
Viewed 84 times
1 Answers
3
Capabilities.playerType does this:
so:
if (Capabilities.playerType == "StandAlone") {
trace("standalone")
}

dtt101
- 2,151
- 25
- 21
-
the value for a plugin test is "PlugIn" – dtt101 Jun 07 '10 at 15:11
-
Thank you very much... Exactly what I wanted! – Michel Lemieux Jun 09 '10 at 15:26