FlxTween
can be used to change values over time following a number of available curve functions.
Using color
allows you to change the color
of a FlxSprite
over time.
// create a color tween
FlxTween.color(myObject, duration, fromColor, toColor, {type: tweenType, easing: FlxEase: easeFunction});