View comments | RSS feed

environmentPropList

Usage

-- Lingo syntax
_system.environmentPropList

// JavaScript syntax
_system.environmentPropList;

Description

System property; contains a list with information about the environment under which the Director content is currently running. Read-only.

This design enables Macromedia to add information to the environmentPropList property in the future, without affecting existing movies.

The information is in the form of property and value pairs for that area.

#shockMachine

Integer TRUE or FALSE value indicating whether the movie is playing in ShockMachine.

#shockMachineVersion

String indicating the installed version number of ShockMachine.

#platform

String containing "Macintosh,PowerPC", or "Windows,32". This is based on the current OS and hardware that the movie is running under.

#runMode

String containing "Author", "Projector", or "Plugin". This is based on the current application that the movie is running under.

#colorDepth

Integer representing the bit depth of the monitor the Stage appears on. Possible values are 1, 2, 4, 8, 16, or 32.

#internetConnected

Symbol indicating whether the computer the movie is playing on has an active Internet connection. Possible values are #online and #offline.

#uiLanguage

String indicating the language the computer is using to display its user interface. This can be different from the #osLanguage on computers with specific language kits installed.

#osLanguage

String indicating the native language of the computer's operating system.

#productBuildVersion

String indicating the internal build number of the playback application.

The properties contain exactly the same information as the properties and functions of the same name.

Example

This statement displays the environment list in the Message window:

-- Lingo syntax
put(_system.environmentPropList)

// JavaScript syntax
put(_system.environmentPropList);

See also

System


Comments


Fumio Nonaka said on Jan 30, 2006 at 2:12 AM :
#productVersion, #osVersion, #licenseType, and #trialTime are not
included in the table of properties.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/09_pr219.htm