     {
         super.initInstance(instance);
         
-        var tintInstance:TintInstance = TintInstance(instance);
+        var tintInstance:FxAnimateColorInstance = FxAnimateColorInstance(instance);
         tintInstance.colorFrom = colorFrom;
         tintInstance.colorTo = colorTo;
         tintInstance.colorPropertyName = colorPropertyName;

//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////
package flex.effects
{
import flex.effects.effectClasses.TintInstance;

import mx.effects.IEffectInstance;
import mx.styles.StyleManager;

    /**
     * Constructs a Tint effect with an optional target object
     */
    public function FxAnimateColor(target:Object=null)
    {
        super(target);
        instanceClass = FxAnimateColorInstance;
    }

    /**
