beautypg.com

Symbolinstance.accname – Adobe Extending Flash Professional CS5 User Manual

Page 438

background image

416

EXTENDING FLASH PROFESSIONAL

SymbolInstance object

Last updated 5/2/2011

symbolInstance.accName

Availability
Flash MX 2004.

Usage

symbolInstance.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. This property is not available for graphic symbols.

Example
The following example stores the value for the Accessibility panel name of the object in the

theName

variable:

var theName = fl.getDocumentDOM().selection[0].accName;

The following example sets the value for the Accessibility panel name of the object to

Home Button

:

symbolInstance.colorRedAmount

An integer that is part of the color transformation for the instance, equivalent
to using the Color > Advanced setting in the instance Property inspector.

symbolInstance.colorRedPercent

Part of the color transformation for the instance; equivalent to using the Color
> Advanced setting in the instance Property inspector (the percentage
controls on the left of the dialog box).

symbolInstance.description

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

symbolInstance.filters

An array of Filter objects (see

Filter object

).

symbolInstance.firstFrame

A zero-based integer that specifies the first frame to appear in the timeline of
the graphic.

symbolInstance.forceSimple

A Boolean value that enables and disables the accessibility of the object’s
children; equivalent to the inverse logic of the Make Child Objects Accessible
setting in the Accessibility panel.

symbolInstance.loop

A string that, for graphic symbols, sets the same property as the Loop pop-up
menu in the Property inspector.

symbolInstance.shortcut

A string that is equivalent to the shortcut key associated with the symbol;
equivalent to the Shortcut field in the Accessibility panel.

symbolInstance.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.

symbolInstance.symbolType

A string that specifies the type of symbol; equivalent to the value for Behavior
in the Create New Symbol and Convert To Symbol dialog boxes.

symbolInstance.tabIndex

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

symbolInstance.usesBackgroundColor

” on page

427

A boolean value that specifies the display format.

symbolInstance.visible

” on page

427

A boolean value specifying whether the instance is visible or not.

Property

Description

This manual is related to the following products: