beautypg.com

Symbolinstance.tabindex, Symbolinstance.usesbackgroundcolor, Symbolinstance.visible – Adobe Extending Flash Professional CS5 User Manual

Page 449

background image

427

EXTENDING FLASH PROFESSIONAL

SymbolInstance object

Last updated 5/2/2011

symbolInstance.tabIndex

Availability
Flash MX 2004.

Usage

symbolInstance.tabIndex

Description
Property; an integer that is equivalent to the Tab index field in the Accessibility panel. Creates a tab order in which
objects are accessed when the user presses the Tab key. This property is not available for graphic symbols.

Example
The following example sets the

tabIndex

property of the

mySymbol

object to 3 and displays that value in the Output

panel:

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

mySymbol.tabIndex = 3;

fl.trace(mySymbol.tabIndex);

symbolInstance.usesBackgroundColor

Availability
Flash CS5.5 Professional.

Usage

symbolInstance.usesBackgroundColor

Description
Property; a boolean value that indicates whether to use 24 bit mode (true) or 32 bit mode with alpha (false) for the
instance. If true, the

backgroundColor

specified for the instance is used.

Example
The following example sets the

usesBackgroundColor

property of an instance to true:

fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].useTransparentBackground =

true;

symbolInstance.visible

Availability
Flash CS5.5 Professional.

Usage

symbolInstance.visible

This manual is related to the following products: