03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 2<br />

<strong>ActionScript</strong> classes<br />

Documentation for <strong>ActionScript</strong> classes includes syntax, usage information, <strong>and</strong> code<br />

samples for methods, properties, <strong>and</strong> event h<strong>and</strong>lers <strong>and</strong> listeners that belong to a specific<br />

class in <strong>ActionScript</strong> (as opposed to global functions or properties). The classes are listed<br />

alphabetically <strong>and</strong> include classes that were new in Flash Player 8 <strong>and</strong> are found in the flash.*<br />

packages. If you are not sure to which class a certain method or property belongs, you can<br />

look it up in the Index.<br />

Accessibility<br />

Object<br />

|<br />

+-Accessibility<br />

public class Accessibility<br />

extends Object<br />

The Accessibility class manages communication with screen readers. Screen readers are a type<br />

of assistive technology for visually impaired users that provides an audio version of screen<br />

content. The methods of the Accessibility class are static--that is, you don't have to create an<br />

instance of the class to use its methods.<br />

To get <strong>and</strong> set accessible properties for a specific object, such as a button, movie clip, or text<br />

field, use the _accProps property. To determine whether the player is running in an<br />

environment that supports accessibility aids, use<br />

System.capabilities.hasAccessibility.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 6<br />

See also<br />

hasAccessibility (capabilities.hasAccessibility property), _accProps<br />

property<br />

245<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!