扩展 Flash |
|
|
|
| 对象 > CompiledClipInstance 对象 > compiledClipInstance.description | |||
Flash MX 2004。
compiledClipInstance.description
属性;一个字符串,它等效于"辅助功能"面板中的"描述"字段。该描述由屏幕读取器读出。
下面的示例说明获取和设置 description 属性的方法:
// 获取当前所选对象的描述。
var theDescription = fl.getDocumentDOM().selection[0].description;
// 设置当前所选对象的描述。
fl.getDocumentDOM().selection[0].description =
"This is compiled clip number 1";
|
|
|
|