# Customizing Gradient Fills with ActionScript?

**URL:** <https://forum.kirupa.com/t/customizing-gradient-fills-with-actionscript/156727>\
**Category:** flash\
**Created:** [July 27, 2005, 4:54pm UTC](https://forum.kirupa.com/t/customizing-gradient-fills-with-actionscript/156727 "2005-07-27T16:54:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CEOofAEP](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@CEOofAEP](https://forum.kirupa.com/u/CEOofAEP)\
**Post date:** [July 27, 2005, 4:54pm UTC](https://forum.kirupa.com/t/customizing-gradient-fills-with-actionscript/156727/1 "2005-07-27T16:54:48Z")

</div>

Actually, the title already says it 🙂  
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 🙂

Thanks in advance!  
~Marcel
