# beginGradientFill(filltype, colors, alphas, ratios, matrix) - help

**URL:** <https://forum.kirupa.com/t/begingradientfill-filltype-colors-alphas-ratios-matrix-help/28613>\
**Category:** flash\
**Created:** [August 15, 2003, 5:49pm UTC](https://forum.kirupa.com/t/begingradientfill-filltype-colors-alphas-ratios-matrix-help/28613 "2003-08-15T17:49:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RvGaTe](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rvgate/32/126_2.png) [@RvGaTe](https://forum.kirupa.com/u/RvGaTe)\
**Post date:** [August 15, 2003, 5:49pm UTC](https://forum.kirupa.com/t/begingradientfill-filltype-colors-alphas-ratios-matrix-help/28613/1 "2003-08-15T17:49:34Z")

</div>

im creating a web-site totaly from actionscript and no symbols, so i need to draw everything with as…

the problem is, that i do not know how the beginGradientFill function completely works with flash…

i know that:

- type = liniar or radial
- colors = an array of the colors being used
- alphas = an array of the alpha’s being used with the colors

but i do not know how the ratio and matrix works… can some one help me on this one… (plz, do not redirect me to the reference, done that)

also, keep in mind that im dutch, so dont use hard english words 🙂

thx in advance

---

<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:** [August 17, 2003, 4:34pm UTC](https://forum.kirupa.com/t/begingradientfill-filltype-colors-alphas-ratios-matrix-help/28613/2 "2003-08-17T16:34:49Z")

</div>

Did you try this: [http://www.macromedia.com/devnet/mx/flash/articles/precision\_drawing.html#gradientfill](http://www.macromedia.com/devnet/mx/flash/articles/precision_drawing.html#gradientfill) It’s quite good 🙂

Edit: Wow, 5000 posts!! :beam:

---

<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:** [August 17, 2003, 4:46pm UTC](https://forum.kirupa.com/t/begingradientfill-filltype-colors-alphas-ratios-matrix-help/28613/3 "2003-08-17T16:46:49Z")

</div>

WOOHOO! happy 5k :beam:

btw, RvGaTe, if you dont know how to use a transformation matrix, stick to the matrix typ with x,y, and rotation etc. Its a more intuitive version of its use

---

<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:** [August 17, 2003, 5:32pm UTC](https://forum.kirupa.com/t/begingradientfill-filltype-colors-alphas-ratios-matrix-help/28613/4 "2003-08-17T17:32:11Z")

</div>

good to know, but how… i dont know what to fill in…

---

<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:** [August 18, 2003, 9:41am UTC](https://forum.kirupa.com/t/begingradientfill-filltype-colors-alphas-ratios-matrix-help/28613/5 "2003-08-18T09:41:29Z")

</div>

> \*Originally posted by senocular \*  
> **WOOHOO! happy 5k :beam:**  
> :love: :love: :bu: :bu: :thumb: :crazy:
