Jason,
This is how you address the whole app accessibilityProperties.
AWK

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*"
layout="absolute" width="100%" height="100%" creationComplete="init()">
        <mx:Script>
        <![CDATA[
                public function init():void{ 
                this.accessibilityProperties = new
AccessibilityProperties();
                this.accessibilityProperties.name = "I am read from
Accessibility Properties name";
                this.accessibilityProperties.description = "I am read
from Accessibility Properties description";
                this.accessibilityProperties.forceSimple = true;
                this.accessibility.Properties.noAutoLabeling = true;
                Accessibility.updateProperties();
                }
        ]]>
        </mx:Script>
        <mx:VBox>
                <mx:Label text="This file has a regular checkbox, a
disabled checkbox, and a checkbox with a text label and a toolTip"/>
                <mx:TextInput/>
                <mx:CheckBox label="Chicken"/>
                <mx:CheckBox label="Beef" enabled="false"/>
                <mx:CheckBox label="Vegetarian" toolTip="May include
seafood"/>
        </mx:VBox>
</mx:Application> 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jason Goodwin
> Sent: Tuesday, February 13, 2007 11:49 AM
> To: [email protected]
> Subject: [flexcoders] Accessibility on the entire SWF?
> 
> How do I set accessibility properties on an entire SWF? Is it 
> as simple as setting up a new accessibilityProperties object 
> and assigning it to the <mx:Application>? For instance if I 
> want to use noAutoLabeling, I have to use it on the SWF. Thanks.
> 
> - Jason
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 

Reply via email to