Hi,

environment

Syntax 

the environment
the environment.propertyName
Description 

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

This design enables Macromedia to add information to the environment 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", "Plugin", or "Java Applet". 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, #offline, and #unknown.
 
#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.
 
#productVersion
 String indicating the version of Director that is running.
 
#osVersion
 String indicatiing the version of the operating system.
 



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: 

put the environment
-- [#shockMachine: 0, #shockMachineVersion: "", #platform: "Macintosh,PowerPC", 
#runMode: "Author", #colorDepth: 32, #internetConnected: #online, #uiLanguage: 
"English", #osLanguage: "English", #productBuildVersion: "151"]
See also 

colorDepth, platform, runMode 



On Fri, 24 Aug 2001 manisha sinha wrote :
> Hello List......
>need some help on Detecting the Platform - win 95/win98 
>through lingo.....also if possible the dummy script to 
>give an alert if these platforms are not present
>thank u in advance
>manisha
>--
>
>On Tue, 3 Jul 2001 09:50:41   
> Pekka Buttler wrote:
>>Not if you want to REALLY protect it...
>>
>>Pekka
>>
>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED]]On
>>> Behalf Of manisha sinha
>>> Sent: 3. heinakuuta 2001 9:26
>>> To: [EMAIL PROTECTED]
>>> Subject: RE: <lingo-l> cd protection
>>>
>>>
>>>  cant this be done thru lingo????????
>>> --
>>>
>>> On Tue, 3 Jul 2001 09:25:05
>>>  Pekka Buttler wrote:
>>> >You should contact whoever will handle the 
>duplication of the Master disc
>>> >and ask them for what services they have to offer.
>>> >
>>> >Pekka
>>> >
>>> >
>>> >> -----Original Message-----
>>> >> From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED]]On
>>> >> Behalf Of manisha sinha
>>> >> Sent: 3. heinakuuta 2001 9:08
>>> >> To: [EMAIL PROTECTED]
>>> >> Subject: <lingo-l> cd protection
>>> >>
>>> >>
>>> >>  Hello List,
>>> >> I am working on a director project. I want some 
>help on cd
>>> >> protection ie protect the cd from 
>disk-copying...........
>>> >>
>>> >> Any help will be highly appreciated
>>> >>
>>> >> Thanx in advance
>>> >> Manisha
>>> >>
>>> >>
>>> >> Get 250 color business cards for FREE!
>>> >> http://businesscards.lycos.com/vp/fastpath/
>>> >>
>>> >> [To remove yourself from this list, or to change 
>to digest mode, go to
>>> >> http://www.penworks.com/LUJ/lingo-l.cgi  To post 
>messages to the list,
>>> >> email [EMAIL PROTECTED]  (Problems, email 
>[EMAIL PROTECTED])
>>> >> Lingo-L is for learning and helping with 
>programming Lingo.  Thanks!]
>>> >>
>>> >
>>> >
>>> >[To remove yourself from this list, or to change to 
>digest mode, go to
>>> >http://www.penworks.com/LUJ/lingo-l.cgi  To post 
>messages to the list,
>>> >email [EMAIL PROTECTED]  (Problems, email 
>[EMAIL PROTECTED])
>>> >Lingo-L is for learning and helping with 
>programming Lingo.  Thanks!]
>>> >
>>> >
>>>
>>>
>>> Get 250 color business cards for FREE!
>>> http://businesscards.lycos.com/vp/fastpath/
>>>
>>> [To remove yourself from this list, or to change to 
>digest mode, go to
>>> http://www.penworks.com/LUJ/lingo-l.cgi  To post 
>messages to the list,
>>> email [EMAIL PROTECTED]  (Problems, email 
>[EMAIL PROTECTED])
>>> Lingo-L is for learning and helping with programming 
>Lingo.  Thanks!]
>>>
>>
>>
>>[To remove yourself from this list, or to change to 
>digest mode, go to
>>http://www.penworks.com/LUJ/lingo-l.cgi  To post 
>messages to the list,
>>email [EMAIL PROTECTED]  (Problems, email 
>[EMAIL PROTECTED])
>>Lingo-L is for learning and helping with programming 
>Lingo.  Thanks!]
>>
>>
>
>
>Get 250 color business cards for FREE!
>http://businesscards.lycos.com/vp/fastpath/
>
>[To remove yourself from this list, or to change to 
>digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post 
>messages to the list,
>email [EMAIL PROTECTED]  (Problems, email 
>[EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming 
>Lingo.  Thanks!]
>


 




[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to