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();

See also

isActive (Accessibility.isActive method), _accProps property, hasAccessibility (capabilities.hasAccessibility property)


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00001347.html