Articles Archive
Director Forums
Director Wiki
Job Board
Search
 
 Director Online WikiMain Page | About | Help | FAQ | Special pages | Log in | Printable version | Disclaimers

OptionDown

From Director Online Wiki

Description

Key property; determines whether the user is pressing the Alt key (Windows) or the Option key (Macintosh). Read-only.

This property returns TRUE if the user is pressing the Alt or Option key; otherwise, it returns FALSE.

Usage

-- Lingo syntax _key.optionDown

// JavaScript syntax _key.optionDown;

NOTE

The Director Help item for the optionDown is incorrect: the optionDown (Alt key) *does* work in a Windows projector without a non-modifier key being pressed.

This is the incorrect entry:

"In Windows, optionDown does not work in projectors if Alt is pressed without another nonmodifier key. Avoid using optionDown if you intend to distribute a movie as a Windows projector and need to detect only the modifier key press; use controlDown or shiftDown instead."

Retrieved from "http://www.director-online.com/dougwiki/index.php/OptionDown"

This page has been accessed 1498 times. This page was last modified 16:21, 7 Jul 2006.