ColorTransform in a class problems

Hello,
I’ve got a class that I’m using to set a menu button. the class has a rollover and roll out state, and on init of the class i set a color transform to set some colors in that button since i’m reusing five of these so i thought it’d be best to do it in a class and just reuse one movieclip.

anyway, when i roll over the clip for the first time, it works fine and the proper color shows, as soon as the roll out is initiated, the color switches back to my original color that i just used as a dummy color, and from there on out it won’t show the proper color in that clip anymore. it’s really odd to say the least.

here is my class:

import com.reintroducing.effects.MotionBlur;
import flash.geom.ColorTransform;
import flash.geom.Transform;
import mx.transitions.easing.*;

class com.reintroducing.ui.MenuButton extends MovieClip
{
    /*
     * ==================================================================================================== 
     * PRIVATE VARIABLES
     * ====================================================================================================
     */
    
    private var _mc:MovieClip;
    private var _mb:MotionBlur;
    private var _colorTrans:ColorTransform;
    private var _transStripes:Transform;
    private var _transBox:Transform;
    private var _color:Number;
    
    // constants
    private var _TWEEN_TIME:Number = .5;
    
    /*
     * ==================================================================================================== 
     * CONSTRUCTOR
     * ====================================================================================================
     */
    
    public function MenuButton()
    {
        _mc = this;
        _colorTrans = new ColorTransform();
        _transStripes = new Transform(_mc.stripes_mc);
        _transBox = new Transform(_mc.color_mc);
        
        this.onRollOver = _doRollOver;
        this.onRollOut = this.onDragOut = this.onReleaseOutside = _doRollOut;
    }
    
    /*
     * ==================================================================================================== 
     * PRIVATE FUNCTIONS
     * ====================================================================================================
     */
    
    private function _doRollOver():Void
    {
        this.onEnterFrame = function():Void
        {
            if (this._currentframe != this._totalframes)
            {
                this.nextFrame();
            }
            else
            {
                delete this.onEnterFrame;
            }
        };
    }
    
    private function _doRollOut():Void
    {
        this.onEnterFrame = function():Void
        {
            if (this._currentframe != 1)
            {
                this.prevFrame();
            }
            else
            {
                delete this.onEnterFrame;
            }
        };
    }
    
    
    /*
     * ==================================================================================================== 
     * PUBLIC FUNCTIONS
     * ====================================================================================================
     */
    
    public function init($title:String, $color:Number, $x:Number, $y:Number):Void
    {
        _color = $color;
        _colorTrans.rgb = _color;
        _transStripes.colorTransform = _colorTrans;
        _transBox.colorTransform = _colorTrans;
        _mc.title_mc.title_txt.text = $title;
        _mb = new MotionBlur(_mc, 3, $x, $y, Elastic.easeOut, _TWEEN_TIME);
    }
    
    public function tweenTo($endVals:Array):Void
    {
        _mb.moveClipTo($endVals, _TWEEN_TIME);
    }
}

i apologize that its so long. the init code for this is run in the swf, as follows (and works fine):

function init():Void
{
    for (var i:Number = 0; i < numBoxes; i++)
    {
        var ob:Object = new Object({id: i});
        ob.mc = tRef["menu" + i + "_mc"];
        ob.mc.id = ob.id;
        ob.mc.init(menuItems[ob.id].title, menuItems[ob.id].color, ob.mc._x, ob.mc._y);
    }
}

all that this movieclip does right now is get initialized. inside of the clip, there is a simple tween that expands the color_mc movie clip, stops at frame 10, and thats it (as you can see i’m using script to play it back then).

hopefully this all makes sense. anyone have any ideas on why the color transform seems to be lost after roll out? Thanks.