     //  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")]
     

        _measuredWidth = width;
        _measuredHeight = height;
        
        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
            this.addEventListener(Event.ADDED, addedHandler);
    }



import flash.display.DisplayObjectContainer;
import flash.events.Event;
import flash.geom.Point;
import flash.system.ApplicationDomain;

/**
 *  SpriteAsset is a subclass of the flash.display.Sprite class which
