 
     //--------------------------------------------------------------------------
     //
-    //  Class initialization
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     *  Static variable triggering the hookAccessibility() method.
-     *  This is used for initializing UIComponentAccProps class to hook its
-     *  createAccessibilityImplementation() method to UIComponent class 
-     *  before it gets called from UIComponent.initialize().
-     */
-    private static var accessibilityHooked:Boolean = hookAccessibility();
-
-    /**
-     *  @private
-     *  Static Method for swapping the
-     *  createAccessibilityImplementation method of UIComponent with
-     *  the UIComponentAccProps class.
-     */
-    private static function hookAccessibility():Boolean
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+	 *  Enables accessibility in the UIComponent class.
+	 * 
+	 *  <p>This method is called by application startup code
+	 *  that is autogenerated by the MXML compiler.
+	 *  Afterwards, when instances of UIComponent are initialized,
+	 *  their <code>accessibilityProperties</code> property
+	 *  will be set to an instance of this class.</p>
+     */
+    public static function enableAccessibility():void
     {
         UIComponent.createAccessibilityImplementation =
             createAccessibilityImplementation;
-
-        return true;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Class methods
-    //
-    //--------------------------------------------------------------------------
+    }
 
     /**
      *  @private
-     *  Method for creating the Accessibility class.
-     *  This method is called from UIComponent. 
-     *  @review
+	 *  Creates a UIComponent's AccessibilityProperties object.
+	 *  This method is called from UIComponent's
+	 *  initializeAccessibility() method.
      */
     mx_internal static function createAccessibilityImplementation(
                                             component:UIComponent):void

            new UIComponentAccProps(component);
    }
    
    /**
     *  Method call for enabling accessibility for a component.
     *  This method is required for the compiler to activate
     *  the accessibility classes for a component.
     */
    public static function enableAccessibility():void
    {
    }

    //--------------------------------------------------------------------------
    //
    //  Constructor

use namespace mx_internal;

/**
 *  UIComponentAccProps is a subclass of AccessibilityProperties
 *  for use by various UIComponents.
 *  It is used to provide accessibility to Form, ToolTip, and Error ToolTip.
 */
public class UIComponentAccProps extends AccessibilityProperties
{
