[dirGames-L] How to ask Flash "where am i?"
Thomas Higgins
thiggins at adobe.com
Tue Feb 14 09:45:01 EST 2006
And to be complete there is also another potential value for that
property: "DirectorXtra", the value returned when your SWF is playing
inside of Director.
Cheers,
Tom Higgins | Product Manager | Director & the Shockwave Player
Adobe Systems Incorporated
http://weblogs.macromedia.com/thiggins/
...
> -----Original Message-----
> From: dirgames-l-bounces at nuttybar.drama.uga.edu
> [mailto:dirgames-l-bounces at nuttybar.drama.uga.edu] On Behalf
> Of Valentin Schmidt
> Sent: Tuesday, February 14, 2006 9:42 AM
> To: Director - Shockwave - and Flash Game Production
> Subject: Re: [dirGames-L] How to ask Flash "where am i?"
>
> hi tom,
>
> it's System.capabilities.playerType
>
> (copied from help:)
>
> Description
> Read-only property; a string that indicates the type of player. This
> property can have one of the following values:
> - "StandAlone" for the Flash StandAlone Player
> - "External" for the Flash Player version used by test movie mode,
> - "PlugIn" for the Flash Player browser plug-in
> - "ActiveX" for the Flash Player ActiveX Control used by Microsoft
> Internet Explorer
>
> (it's 6 pm here, so I'm already filled up with coffee :-)
>
> cheers,
> valentin
More information about the dirGames-L
mailing list