Example
The following example checks whether an accessibility aid is currently active:
if (Accessibility.isActive()) {
trace ("An accessibility aid is currently active");
} else {
trace ("There is currently no active accessibility aid");
}
See also
Accessibility.updateProperties()
System.capabilities.hasAccessibility
Accessibility.updateProperties()
Availability
Flash Player 6 (6.0.65).
Usage
Accessibility.updateProperties() : Void
Parameters
None.
Returns
Nothing.
Description
Method; causes all changes to
information on setting accessibility properties, see
If you modify the accessibility properties for multiple objects, only one call to
Accessibility.updateProperties()
performance and unintelligible screen reader results.
Example
If you change an image and want to update its accessible description, you could use the following
ActionScript code:
my_mc.gotoAndStop(2);
if (my_mc._accProps == undefined ) {
my_mc._accProps = new Object();
}
my_mc._accProps.name = "Photo of Mount Rushmore";
Accessibility.updateProperties();
See also
Accessibility.isActive()
234
Chapter 6: ActionScript Core Classes
,
_accProps
(accessibility properties) objects to take effect. For
_accProps
_accProps
is necessary; multiple calls can result in reduced
, _accProps,
System.capabilities.hasAccessibility
,
.
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?