# Changing the value of a gradient fill

**URL:** <https://forum.kirupa.com/t/changing-the-value-of-a-gradient-fill/37352>\
**Category:** flash\
**Created:** [December 9, 2003, 6:27am UTC](https://forum.kirupa.com/t/changing-the-value-of-a-gradient-fill/37352 "2003-12-09T06:27:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![demondesign](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@demondesign](https://forum.kirupa.com/u/demondesign)\
**Post date:** [December 9, 2003, 6:27am UTC](https://forum.kirupa.com/t/changing-the-value-of-a-gradient-fill/37352/1 "2003-12-09T06:27:35Z")

</div>

Guys,

I’m trying to programmatically change the value of one of the colours in a gradient fill of a symbol with Actionscript.

I’ve used setColor for the main part of the symbol now all i need is to change the gradient fill to match it.

Any ideas anyone?  
Hope I’ve made this clear enough.

If not then try here for an example.

> **[CVW Creative Perth: Web Design, Graphic Design & Online Marketing](https://www.cvwcreative.com.au/)**
>
> CVW Creative - Web design and web development Perth. Web Designers that focus on ecommerce, graphic design, SEO, online marketing in Perth, WA.

Thanks in advance

–Neil
