MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 233

Actionscript language reference
Table of Contents

Advertisement

Accessibility class
Availability
Flash Player 6.
Description
The Accessibility class manages communication with screen readers. Screen readers are a type of
assistive technology for visually impaired users that provides an audio version of screen content.
The methods of the Accessibility class are static—that is, you don't have to create an instance of
the class to use its methods.
To get and set accessible properties for a specific object, such as a button, movie clip, or text field,
use the
_accProps
supports accessibility aids, use
Method summary for the Accessibility class
Method
Accessibility.isActive()
Accessibility.updateProperties()
Accessibility.isActive()
Availability
Flash Player 6.
Usage
Accessibility.isActive() : Boolean
Parameters
None.
Returns
A Boolean value:
screen reader);
false
Description
Method; indicates whether an accessibility aid is currently active and the player is communicating
with it. Use this method when you want your application to behave differently in the presence of
a screen reader or other accessibility aid.
Note: If you call this method within one or two seconds of the first appearance of the Flash window in
which your document is playing, you might get a return value of
Microsoft Active Accessibility (MSAA) client. This is because of an asynchronous communication
mechanism between Flash and MSAA clients. You can work around this limitation by ensuring a
delay of one to two seconds after loading your document before calling this method.
property. To determine whether the player is running in an environment that
System.capabilities.hasAccessibility
if the Flash Player is communicating with an accessibility aid (usually a
true
otherwise.
ActionScript Core Classes
Description
Indicates whether a screen reader program is active.
Updates the description of objects on the screen for screen
readers.
false
CHAPTER 6
.
even if there is an active
Accessibility.isActive()
233

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents