Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 620 Bytes

File metadata and controls

24 lines (15 loc) · 620 Bytes

compiledClipInstance.shortcut

Availability

Flash MX 2004.

Usage

compiledClipInstance.shortcut

Description

Property; a string that is equivalent to the Shortcut field in the Accessibility panel. The shortcut is read by the screen reader. This property is not available for dynamic text fields.

Example

The following example illustrates getting and setting the shortcut property:

// Get the shortcut key of the object.
var theShortcut = fl.getDocumentDOM().selection[0].shortcut;
// Set the shortcut key of the object.
fl.getDocumentDOM().selection[0].shortcut = "Ctrl+I";