     //  layoutDirection
     //----------------------------------
     
-    private var _layoutDirection:String = LayoutDirection.LTR;
+    // Use "ltr" instead of LayoutDirection.LTR to avoid depending
+    // on that framework class.
+    private var _layoutDirection:String = "ltr";
     
     [Inspectable(category="General", enumeration="ltr,rtl")]
     

{
    include "../core/Version.as";

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

     */
    override public function get width():Number
    {
        if (layoutFeatures == null)
            return super.width;
        
        // Return bounding box width in mirroring case
        var p:Point;
        if (MatrixUtilClass != null)
            p = MatrixUtilClass["transformSize"](layoutFeatures.layoutWidth, _height, transform.matrix);
        
        return p ? p.x : super.width;
    }
    
    /**
