User Guide
ADOBE ATMOSPHERE 249
User Guide
Properties
type
The type of object, returned as “Application”.
// prints “Application” to the chat console
chat.print(application.type);
controlKeyDown
A boolean fl ag that is true when the control key is down.
if (application.controlKeyDown) { ... }
shiftKeyDown
A boolean fl ag that is true when the shift key is down.
if (application.shiftKeyDown) { ... }
leftArrowKeyDown
A boolean fl ag that is true when the left-arrow key is down.
if (application.leftArrowKeyDown) { ... }
rightArrowKeyDown
A boolean fl ag that is true when the right-arrow key is down.
if (application.rightArrowKeyDown) { ... }
upArrowKeyDown
A boolean fl ag that is true when the up-arrow key is down.
if (application.upArrowKeyDown) { ... }
downArrowKeyDown
A boolean fl ag that is true when the down-arrow key is down.
if (application.downArrowKeyDown) { ... }
mouseButtonDown
A boolean fl ag that is true when the left mouse button is down.
if (application.mouseButtonDown) { ... }
chatPaneVisible
Controls display of the chat pane in the Player window area.
application.chatPaneVisible = false; //turn it off for maximum viewable area
splitPercentage
Specifi es the percentage of the Player window area which should be occupied by the chat pane.
application.splitPercentage = 20; // set to 20 percent










