beautypg.com

Chapter 6: compiledclipinstance object, Compiledclipinstance.accname – Adobe Extending Flash Professional CS5 User Manual

Page 64

background image

42

Last updated 5/2/2011

Chapter 6: CompiledClipInstance object

Inheritance

Element object

>

Instance object

> CompiledClipInstance object

Availability
Flash MX 2004.

Description
The CompiledClipInstance object is a subclass of the Instance object. It is essentially an instance of a movie clip that
has been converted to a compiled clip library item (see

Instance object

).

Property summary
In addition to the properties of the

Instance object

, the CompiledClipInstance object has the following properties:

compiledClipInstance.accName

Availability
Flash MX 2004.

Usage

compiledClipInstance.accName

Description
Property; a string that is equivalent to the Name field in the Accessibility panel. Screen readers identify objects by
reading the name aloud.

Example
The following example gets and sets the accessibility name of the first selected object:

Property

Description

compiledClipInstance.accName

A string that is equivalent to the Name field in the Accessibility panel.

compiledClipInstance.actionScript

A string that represents the ActionScript for this instance; equivalent to

symbolInstance.actionScript

.

compiledClipInstance.description

A string that is equivalent to the Description field in the Accessibility panel.

compiledClipInstance.forceSimple

A Boolean value that enables and disables the children of the object to be
accessible.

compiledClipInstance.shortcut

A string that is equivalent to the Shortcut field in the Accessibility panel.

compiledClipInstance.silent

A Boolean value that enables or disables the accessibility of the object;
equivalent to the inverse logic of the Make Object Accessible setting in the
Accessibility panel.

compiledClipInstance.tabIndex

An integer that is equivalent to the Tab Index field in the Accessibility panel.

This manual is related to the following products: