Defi Ning Properties And Setting Values - Adobe ATMOSPHERE User Manual

Table of Contents

Advertisement

Clicking the Edit button will open the script in a text editor.
Defi ning Properties and Setting Values
The Properties section in the Inspector palette holds all the defi ned properties for the script. You can enter new
parameter values by selecting a property and typing its new value into the Value fi eld. You can also right-click in a
value fi eld to select more parameters like a fi le name and path.
Entering a wrong value type will make the script run incorrectly. For example, some properties are Booleans, meaning
they only accept true or false values. If you enter a number into a Boolean property, the script will generate an error.
There is a section at the top of a script, which is denoted by two comment lines:
//BEGIN_AUTHORING_PROPERTIES
//END_AUTHORING_PROPERTIES
i
The two slash marks (//) at the beginning of the line mark a line of code as a comment that will not be processed.
The properties defi ned in this section are displayed in the Inspector palette. When the user saves their project, the
values in the palette fi elds are written into the project fi le. Additionally, when the user publishes the project, these
values are written into the published AER fi le as well.
185
ADOBE ATMOSPHERE
User Guide

Advertisement

Table of Contents
loading

Table of Contents