EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Updateproperties (Accessibility.updateproperties Method)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Accessibility 241
Returns
Boolean - A Boolean value: true if the Flash Player is communicating with an accessibility
aid (usually a screen reader);
false otherwise.
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
updateProperties (Accessibility.updateProperties method), _accProps
property
, hasAccessibility (capabilities.hasAccessibility property)
updateProperties (Accessibility.updateProperties
method)
public static updateProperties() : Void
Causes all changes to _accProps (accessibility properties) objects to take effect. For
information on setting accessibility properties, see
_accProps.
If you modify the accessibility properties for multiple objects, only one call to
Accessibility.updateProperties() is necessary; multiple calls can result in reduced
performance and unintelligible screen reader results.
Availability: ActionScript 1.0; Flash Player 6,0,65,0
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();

Table of Contents

Related product manuals