Sorry for bringing up old topics, but I've come across this very thread many times in my searching - thought I'd put my thoughts in!
Simple enough to tween such a thing
if you have a class (or if not - not sure how this sort of code works - I know it works with classes for sure), simply use the get/set functionality for a variable, having it redrawn Then use a tween class to tween that custom property.
EG:
Let's say this bit of code is within a class declaration (where public/private variables would go)
Code:
public function set tintRedCustom(newValue:uint):void
{
var colorTransform:ColorTransform = this.transform.colorTransform;
colorTransform.color = newValue;
this.transform.colorTransform = colorTransform;
}
then...
Code:
var rainbowTween:Tween = new Tween(this, "tintRedCustom", fl.transitions.easing.None.easeNone, 0, 16777214, 3, true);
would make display object (referenced by This) tween a tint of rainbow!
The possibilities are endless - just the moral of:
If you have a set of code, and you want to tween one parameter or argument, but the property you want to edit or tween doesn't exists: make it!
Hopefully this helps!
`SiN