扩展 Flash |
|
|
|
| 对象 > CompiledClipInstance 对象 > compiledClipInstance.shortcut | |||
Flash MX 2004。
compiledClipInstance.shortcut
属性;一个字符串,它等效于"辅助功能"面板中的"快捷键"字段。此快捷键由屏幕读取器读出。此属性对于动态文本字段不可用。
下面的示例说明获取和设置 shortcut 属性的方法:
// 获取对象的快捷键。 var theShortcut = fl.getDocumentDOM().selection[0].shortcut; // 设置对象的快捷键。 fl.getDocumentDOM().selection[0].shortcut = "Ctrl+I";
|
|
|
|