# Rainbow

**URL:** <https://forum.kirupa.com/t/rainbow/23828>\
**Category:** open source\
**Created:** [June 22, 2003, 9:19pm UTC](https://forum.kirupa.com/t/rainbow/23828 "2003-06-22T21:19:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wyclef](https://avatars.discourse-cdn.com/v4/letter/w/65b543/32.png) [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Post date:** [June 22, 2003, 9:19pm UTC](https://forum.kirupa.com/t/rainbow/23828/1 "2003-06-22T21:19:39Z")

</div>

Hello, has anyone seen any examples of an actionscript rainbow gradient on a curve?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 10:01pm UTC](https://forum.kirupa.com/t/rainbow/23828/2 "2003-06-22T22:01:58Z")

</div>

they have a pretty good example of how to use the beginGradientFill function in the help files. to create the curve, just create two curves and close them with 2 lines or whatever.

I never took the time to understand how that gradient function worked cause it looked too complex, but i’m sure it’s pretty powerful.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 10:04pm UTC](https://forum.kirupa.com/t/rainbow/23828/3 "2003-06-22T22:04:22Z")

</div>

yeah, but i’m trying to figure out how to have the gradient curve also, if i use the gradient fill script i dont know how to have it curve

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 22, 2003, 10:07pm UTC](https://forum.kirupa.com/t/rainbow/23828/4 "2003-06-22T22:07:09Z")

</div>

oh…well i can’t help you there, sorry. ☹

i don’t think it’s even possible outside of flash, without a little shape manipulation.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 3:53am UTC](https://forum.kirupa.com/t/rainbow/23828/5 "2003-06-23T03:53:51Z")

</div>

Thats cool, I just got interested in this like three days ago, and here somebody posts about it!! I ended up finding enough info to put this together. Let me know if it helps. Its pretty complicated.

also I didnt really label anything all that clearly… sorry 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 4:20am UTC](https://forum.kirupa.com/t/rainbow/23828/6 "2003-06-23T04:20:11Z")

</div>

that’s a pretty nice file 🙂

I too didn’t bother experimenting with beginGradientFill just for the fact that it seemed somewhat too complex… 😛
