This is the accessibility implementation class for spark.components.VideoPlayer. When a Spark VideoPlayer is created, its accessibilityImplementation property is set to an instance of this class. The Flash Player then uses this class to allow MSAA clients such as screen readers to see and manipulate the VideoPlayer. See the mx.accessibility.AccImpl and flash.accessibility.AccessibilityImplementation classes for background information about accessibility implementation classes and MSAA.
This method associates the VideoPlayer Accessibility Implementation on the VideoPlayer object. Each component of the VideoPlayer such as the PlayPause button is a simple child of the VideoPlayer.
The VideoPlayer has 6 MSAA children:
The controls will always appear in the same order for accessibility regardless of the order of controls in the skin.
The MSAA Role of a VideoPlayer is ROLE_SYSTEM_PANE.
The Role of each child control is:
The MSAA Name of a VideoPlayer is, by default, "VideoPlayer". When wrapped in a FormItem element, the Name is the FormItem's label. To override this behavior, set the Spinner's accessibilityName property.
The Name of each child control is:
To override the names of these child controls, reskin the VideoPlayer and set the accessibilityName of the controls.
Note that the Play/Pause control and the Mute control have MSAA Names which change as you interact with them. To specify them, set accessibilityName to a comma-separate list of MSAA Names, such as "Play,Pause" or "Not Muted,Muted".
When the Name of the VideoPlayer or one of its child controls changes, a VideoPlayer dispatches the MSAA event EVENT_OBJECT_NAMECHANGE with the proper childID for the control or 0 for itself.
The MSAA Description of a VideoPlayer is, by default, the empty string, but you can set the VideoPlayer's accessibilityDescription property.
The Description of each child control is the empty string.
The MSAA State of a VideoPlayer is STATE_SYSTEM_NORMAL.
The State of each child control is:
Play/Pause control:
STATE_SYSTEM_UNAVAILABLE
STATE_SYSTEM_FOCUSED
Scrub control:
STATE_SYSTEM_UNAVAILABLE
STATE_SYSTEM_FOCUSED
Play time indicator:
STATE_SYSTEM_READONLY.
Mute control:
STATE_SYSTEM_UNAVAILABLE
STATE_SYSTEM_FOCUSED
Volume control:
STATE_SYSTEM_UNAVAILABLE
STATE_SYSTEM_FOCUSED
Full Screen control:
STATE_SYSTEM_UNAVAILABLE
When the State of the VideoPlayer or one of its child controls changes, a VideoPlayer dispatches the MSAA event EVENT_OBJECT_STATECHANGE with the proper childID for the control or 0 for itself.
A VideoPlayer does not have an MSAA Value.
THe Value of each child control is:
When the Value of a child control changes, a Spinner dispatches the MSAA event EVENT_OBJECT_VALUECHANGE with the proper ChildId for the control.
The MSAA Location of a VideoPlayer, or one of its child controls, is its bounding rectangle.
A VideoPlayer does not have an MSAA DefaultAction.
The DefaultAction of each child control is:
Performing the default action of one of the child controls will have the following effect:
Returns 0 if the VideoPlayer is focused but no subitem is, and otherwise the ChildID of the focused subitem:
If the "Play Pause" sub component is foxued 1 is returned
If the "Scrub Bar" sub component is focused 2 is returned
If the "Volume" sub component is focused 5 is returned (Mute Button and VolumeBar are connected and the Mute button can not be foxued via the keyboard)
If the "Full Screen" sub component is focused 6 is returned
The Select method is not implemented for the VideoPlayer component itself
1st child: if called with 1 and TAKE_FOCUS call the setFocus method on "Play Pause".
2nd child: if called with 2 and TAKE_FOCUS call the setFocus method on "Scrub Bar".
3rd child: displayed text for the currentTimeDisplay object - not implemented.
4th child: if called with 4 and TAKE_FOCUS call the setFocus method on "Volume Bar" (Mute button and VolumeBar are connected).
5th child: if called with 5 and TAKE_FOCUS call the setFocus method on "Volume Bar".
6th child: if called with 6 and TAKE_FOCUS call the setFocus method on "Full Screen".