AlertAccImpl

Kind of class:class
Inherits from:WindowAccImpl < AccImpl < Object
Classpath:mx.accessibility.AlertAccImpl
File last modified:Tuesday, 18 December 2007, 15:44:37
This is the accessibility class for Alert.
If accessibility has to be enabled in a component, the following code should be written in the first frame of the FLA file
import mx.accessibility.AlertAccImpl;
AlertAccImpl.enableAccessibility();

Summary


Constructor
Class properties
Class properties inherited from WindowAccImpl
Class methods
Instance methods
Event handlers
Event handlers inherited from WindowAccImpl

Constructor

AlertAccImpl

function AlertAccImpl (
master:Object)

Class properties

accHooked

static accHooked:Boolean = hookAccessibility()
(read)

Instance properties

_parent

_parent:MovieClip
(read)

back_mc

back_mc:MovieClip
(read)

button_mc

button_mc:MovieClip
(read)

children

children:Array
(read)

content

content:MovieClip
(read)

EVENT_OBJECT_FOCUS

EVENT_OBJECT_FOCUS:Number = 0x8005
(read)

EVENT_OBJECT_REORDER

EVENT_OBJECT_REORDER:Number = 0x8004
(read)

EVENT_OBJECT_SHOW

EVENT_OBJECT_SHOW:Number = 0x8002
(read)

master

master:Object
(read)

ROLE_SYSTEM_STATICTEXT

ROLE_SYSTEM_STATICTEXT:Number = 0x29
(read)

STATE_SYSTEM_READONLY

STATE_SYSTEM_READONLY:Number = 0x40
(read)

Class methods

enableAccessibility

static function enableAccessibility (
)

Method call for enabling accessibility for a component
This method is required for compiler to activate the accessibility classes for a component

hookAccessibility

static function hookAccessibility (
) : Boolean

Static Method for swapping the createAccessibilityImplementation method of Alert with AlertAccImpl class

Instance methods

accLocation

function accLocation (
childId:Number) : Number

Parameters:
childId:
Number
Returns:
  • Location : Number

clickHandler

function clickHandler (
)

createAccessibilityImplementation

function createAccessibilityImplementation (
)

Method for creating Accessibility class. This method is called from UIObject.
Accessibility enabling code should be already written in the first frame of the FLA before this method is called

get_accName

function get_accName (
childId:Number) : String

Parameters:
childId:
Number
Returns:
  • Name : String

get_accRole

function get_accRole (
childId:Number) : Number

See also:
  • get_accRole

get_accState

function get_accState (
childId:Number) : Number

Parameters:
childId:
Number
Returns:
  • STATE : Number

getChildIdArray

function getChildIdArray (
) : Object

Returns:
  • Array

Event handlers

onRelease

function onRelease (
)