     //--------------------------------------------------------------------------
     
     //----------------------------------
-    //  applyChangesPostLayout
-    //----------------------------------
-    [Inspectable(category="General")]
-    /** 
-     *  @copy AnimateTransform#applyChangesPostLayout
-     *  The default value for this property is true for 3D effects,
-     *  because the Flex layout system ignores 3D transformation properties.
-     *
-     *  @default true
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    override public function get applyChangesPostLayout():Boolean
-    {
-        return super.applyChangesPostLayout;
-    }
-
+    //  scaleXFrom
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="NaN")]
+
+    /**
+     *  The starting scale factor in the x direction.
+     *  A scale value of 0.0 is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var scaleXFrom:Number;
+    
+    //----------------------------------
+    //  scaleXTo
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="NaN")]
+
+    /**
+     *  The ending scale factor in the x direction.
+     *  A scale value of 0.0 is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var scaleXTo:Number;
+
+    //----------------------------------
+    //  scaleXBy
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="NaN")]
+
+    /**
+     *  The factor by which to scale the object in the x direction.
+     *  This is an optional parameter that can be used instead of one
+     *  of the other from/to values to specify the delta to add to the
+     *  from value or to derive the from value by subtracting from the
+     *  to value.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var scaleXBy:Number;
+
+    //----------------------------------
+    //  scaleYFrom
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="NaN")]
+
+    /**
+     *  The starting scale factor in the y direction.
+     *  A scale value of 0.0 is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var scaleYFrom:Number;
+
+    //----------------------------------
+    //  scaleYTo
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="NaN")]
+
+    /**
+     *  The ending scale factor in the y direction.
+     *  A scale value of 0.0 is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var scaleYTo:Number;
+            
+    //----------------------------------
+    //  scaleYBy
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="NaN")]
+
+    /**
+     * The factor by which to scale the object in the y direction.
+     * This is an optional parameter that can be used instead of one
+     * of the other from/to values to specify the delta to add to the
+     * from value or to derive the from value by subtracting from the
+     * to value.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var scaleYBy:Number;
+    
     //----------------------------------
     //  scaleZFrom
     //----------------------------------

    /**
     * @private
     */
    override protected function initInstance(instance:IEffectInstance):void
    {
        if (!applyChangesPostLayout)
        {
           addMotionPath("scaleZ", scaleZFrom, scaleZTo, scaleZBy);
        }
        else
        {
            addPostLayoutMotionPath("postLayoutScaleZ", scaleZFrom, scaleZTo, scaleZBy);
        }
        super.initInstance(instance);

 *  @playerversion AIR 1.5
 *  @productversion Flex 4
 */   
public class Scale3D extends AnimateTransform3D
{
    include "../core/Version.as";

