_accProps
269
To determine whether the player is running in an environment that supports accessibility aids, use
System.capabilities.hasAccessibility
.
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.
To specify settings that correspond to the Tab index setting in the Accessibility panel, use the
Button.tabIndex
,
MovieClip.tabIndex
, or
TextField.tabIndex
property.
There is no way to specify an Auto Label setting at runtime.
When used without the
instanceName
parameter, changes made to
_accProps
properties apply
to the whole movie. For example, the following code sets the Accessibility
name
property for the
whole movie to the string
"Pet Store"
, and then calls
Accessibility.updateProperties()
to effect that change.
_accprops.name = "Pet Store";
Accessbility.updateProperties();
In contrast, the following code sets the
name
property for a movie clip with the instance name
price_mc
to the string
"Price"
:
price_mc._accProps.name = "Price";
Accessbility.updateProperties();
Property
Data type
Equivalent in Accessibility panel
Applies to
silent
Boolean
Make Movie Accessible/
Make Object Accessible
(inverse logic)
Whole movies
Movie clips
Buttons
Dynamic text
Input text
forceSimple
Boolean
Make Child Objects Accessible
(inverse logic)
Whole movies
Movie clips
name
String
Name
Whole movies
Movie clips
Buttons
Input text
description
String
Description
Whole movies
Movie clips
Buttons
Dynamic text
Input text
shortcut
String
Shortcut*
*
For information on assigning a keyboard shortcut to an accessible object, see
Key.addListener()
.
Movie clips
Buttons
Input text
Summary of Contents for FLASH MX 2004 - ACTIONSCRIPT
Page 1: ...ActionScript Reference Guide...
Page 8: ...8 Contents...
Page 12: ......
Page 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Page 54: ...54 Chapter 2 ActionScript Basics...
Page 80: ...80 Chapter 3 Writing and Debugging Scripts...
Page 82: ......
Page 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Page 112: ......
Page 120: ...120 Chapter 6 Using the Built In Classes...
Page 176: ......
Page 192: ...192 Chapter 10 Working with External Data...
Page 202: ...202 Chapter 11 Working with External Media...
Page 204: ......
Page 782: ...782 Chapter 12 ActionScript Dictionary...
Page 793: ...Other keys 793 221 222 Key Key code...
Page 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Page 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Page 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Page 816: ...816 Index...