
Arguments Object
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
440
|
ActionScript Language Reference
Once the required objects and constants have been defined according to the MASCA API, a
component depicts interface interaction in accessible terms via sendEvent(). For example,
the setLabel() method of the radio button component uses sendEvent() to notify a screen
reader when the button’s label changes:
FRadioButtonClass.prototype.setLabel = function(label)
{
this.fLabel_mc.setLabel( label );
this.txtFormat();
// ACCESSIBILITY
if(Accessibility.isActive()){
Accessibility.sendEvent( this, 0, this.EVENT_OBJECT_NAMECHANGE );
}
}
For more information on the IAccessible interface, see:
http://msdn.microsoft.com/library/en-us/msaa/msaapndx_6qlh.asp
For more information on MSAA, see:
http://msdn.microsoft.com/library/en-us/msaa/msaastart_9w2t.asp
Microsoft regularly changes links on its developer web site. If these documents are no
longer available, consult http://msdn.microsoft.com/at.
See Also
capabilities.hasAccessibility
Arguments Object
access to function arguments, the current function, and the calling function
Flash 5; caller property added in Flash 6
arguments[elem]
arguments.propertyName
Properties
callee A reference to the function being executed.
caller A reference to the calling function.
length The number of arguments passed to the function ...