
114
ActionScript language elements
_accProps property
_accProps.
propertyName
instanceName
._accProps.
propertyName
Lets you control screen reader accessibilityoptions for SWF files, movie clips, buttons,
dynamic text fields, and input textfields at runtime. Theseproperties override the
corresponding settings available in the Accessibilitypanel during authoring. For changes to
these properties to take effect,you must call Accessibility.updateProperties().
For information on the Accessibility panel, see "The Flash Accessibility panel" in
Using Flash
.
To determine whether the player is running in an environment that supports accessibility aids,
use the System.capabilities.hasAccessibility() method .
The following table lists the name and data type of each
_accProps
property , its equivalent
setting in the Accessibility panel, and the kinds of objects to which the property can be
applied. The term
inverse logic
means that the property setting is the inverse of the
corresponding setting in the Accessibility panel. For example, setting the
silent
property to
true
is equivalent to deselecting the Make Movie Accessible or Make Object Accessible
option.
For the Shortcut field, use names of the form A. Adding a keyboard shortcut to the
Accessibility panel doesn't create a keyboard shortcut; it merely advises screen readers of an
existing shortcut. For information on assigninga keyboard shortcut to an accessible object, see
Key.addListener()
.
Property
Data type
Equivalent in
Accessibility panel
Applies to
silent
Boolean
Make Movie
Accessible/ Make
Object Accessible
(inverse logic)
Whole SWF files
Movie clips Buttons
Dynamic text Input text
forceSimple
Boolean
Make Child Objects
Accessible
(inverse
logic)
Whole SWF files
Movie clips
name
String
Name
Whole SWF files
Movie clips Buttons
Input text
description
String
Description
Whole SWF files
Movie clips Buttons
Dynamic text Input text
shortcut
String
Shortcut
Movie clips Buttons
Input text
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...