
Accessibility.sendEvent() Method
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
439
The isActive() method depends on the Flash Player having received an initial communica-
tion from an accessibility aid program. There is a small, but not negligible, delay between
when the Flash Player starts up and when it receives the first such message. Thus, when
isActive() is invoked early in a Flash movie, it may return
false even though there is actu-
ally an accessibility aid running. To work around this problem, build a delay of
approximately one second into your movie before calling isActive().
See Also
Accessibility.sendEvent(), capabilities.hasAccessibility
Accessibility.sendEvent() Method
send an event notice to MSAA
Flash 6 (ActiveX for Windows IE only)
Accessibility.sendEvent(movieClip, childID, event, isNonHtml)
Arguments
movieClip The movie clip instance sending the event.
childID The child interface element to which the event applies (for example, an indi-
vidual list item in a list box). Use 0 to indicate that the event applies to the
specified
movieClip.
event A constant indicating the type of event. The event names and values used are
a subset of the MSAA event constants listed in Microsoft’s MSAA documen-
tation at http://msdn.microsoft.com/at.
isNonHtml A Boolean indicating whether the event is (
false ...