
Accessibility.isActive() Method
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
438
|
ActionScript Language Reference
Description
The Accessibility object manages communication between the Flash Player and screen
readers or accessibility aids such as GW Micro’s Window-Eyes (http://www.gwmicro.com).
The isActive() method checks whether an accessibility aid is communicating with the Flash
Player. It is useful when dynamically generating content in a movie based on the presence
of accessibility support. The sendEvent() method allows you to send information about UI
component events to accessibility aids and is intended for developers of accessible UI
components.
At the time of this writing, the Macromedia ActionScript Component Accessibility
(MASCA) API works with Microsoft Active Accessibility (MSAA) only; hence, only the
ActiveX version of Flash Player 6 supports communication with an external accessibility
application. In the future, more versions of the Flash Player are likely to include support.
Use of the MASCA API requires some knowledge of MSAA. To determine whether the
current Player has accessibility support, use
capabilities.hasAccessibility.
Note that Accessibility is a predefined object, not a class. Its properties, methods, and event
handlers are accessed directly, as in:
Accessibility.isActive();
Many of the Accessibility