Customizing Gradient Fills with ActionScript?

Actually, the title already says it :slight_smile:
Is there a way to customize / influence / set a gradient fill for an object?
I want to have a gradient background take on different colors depending on an input value… If there is a way, then an explanation / example would be nice… if not, I’ll just put a semi-transparent object infront of a black-to-white gradient and assign a solid color to it… but that wouldn’t be as sophisticated :slight_smile:

Thanks in advance!
~Marcel