 ////////////////////////////////////////////////////////////////////////////////
 package spark.effects
 {
-import flash.display.BitmapData;    
+import flash.display.BitmapData;
 import flash.display.IBitmapDrawable;
 import flash.display.Sprite;
 import flash.geom.Matrix;

     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
     public function AnimateShaderTransition(target:Object=null)
    {
        super(target);

        instanceClass = AnimateShaderTransitionInstance;
    }
   
    

    {
        super.initInstance(instance);
        
        var animateTransitionShaderInstance:AnimateTransitionShaderInstance = 
            AnimateTransitionShaderInstance(instance);

        animateTransitionShaderInstance.bitmapFrom = bitmapFrom;
        animateTransitionShaderInstance.bitmapTo = bitmapTo;

        if (!shaderByteCode)
            // User should always supply a shader, but if they don't just 
            // pass it on
            animateTransitionShaderInstance.shaderByteCode = null;
        else
            animateTransitionShaderInstance.shaderByteCode = 
                (shaderByteCode is ByteArray) ?
                ByteArray(shaderByteCode) :
                new shaderByteCode();
        animateTransitionShaderInstance.shaderProperties = shaderProperties;
    }
}
}