# beginGradientFill()

**URL:** <https://forum.kirupa.com/t/begingradientfill/129544>\
**Category:** Uncategorized\
**Created:** [November 24, 2004, 10:32pm UTC](https://forum.kirupa.com/t/begingradientfill/129544 "2004-11-24T22:32:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Vulcan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/the_vulcan/32/145_2.png) [@The\_Vulcan](https://forum.kirupa.com/u/The_Vulcan)\
**Post date:** [November 24, 2004, 10:32pm UTC](https://forum.kirupa.com/t/begingradientfill/129544/1 "2004-11-24T22:32:41Z")

</div>

Ok I am trying to use beginGradientFill() but can’t get the hang of it.

All examples I have searched for with google have just copied and pasted the MX help file. And while I haven’t given up on working it out I am hoping someone might have some similar code or link to an example.

This is almost what I am after… It allows you to play with the gradients using sliders. I just want to have a few pre-set colors to click on, no sliders.  
[http://www.horstkgrafix.de/smax/gradient.html](http://www.horstkgrafix.de/smax/gradient.html)

Here is a picture to explain basicly what I am trying to do.  
Any code, links to examples, and it need not be the exact thing I am after, just something to work off is much appreciated.
