keyboardFocusSprite

Usage

-- Lingo syntax
_movie.keyboardFocusSprite

// JavaScript syntax
_movie.keyboardFocusSprite;

Description

Movie property; lets the user set the focus for keyboard input (without controlling the cursor's insertion point) on a particular text sprite currently on the screen. Read/write.

This is the equivalent to using the Tab key when the autoTab property of the cast member is selected.

Setting keyboardFocusSprite to -1 returns keyboard focus control to the Score, and setting it to 0 disables keyboard entry into any editable sprite.

See also

Movie