 import flash.text.TextFormatAlign;
 import flash.text.TextLineMetrics;
 import flash.utils.getQualifiedClassName;
-import flash.accessibility.Accessibility;
-import flash.accessibility.AccessibilityProperties;
 
 import mx.automation.IAutomationObject;
 import mx.binding.BindingManager;

        else
        {
            if (!deferredSetStyles)
                deferredSetStyles = [];
            deferredSetStyles.push(styleProp);
            deferredSetStyles.push(newValue);
        }   
    }


     */
    public function getStyle(styleProp:String):*
    {
        // If our style proto chain hasn't been set up yet, return any locally declared
        // styles. This way any style set before we are added to the display list
        // is correctly returned.
        if (_inheritingStyles == StyleProtoChain.STYLE_UNINITIALIZED)
        {
            if (deferredSetStyles)
                return this.deferredSetStyles[styleProp];
            
            if (styleDeclaration)
                return styleDeclaration.getStyle(styleProp); 
        }
        
        return styleManager.inheritingStyles[styleProp] ?
               _inheritingStyles[styleProp] :
               _nonInheritingStyles[styleProp];
