PDA

View Full Version : beginGradientFill(filltype, colors, alphas, ratios, matrix) - help



RvGaTe
August 15th, 2003, 01:49 PM
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

pom
August 17th, 2003, 12:34 PM
Did you try this: http://www.macromedia.com/devnet/mx/flash/articles/precision_drawing.html#gradientfill It's quite good :)

Edit: Wow, 5000 posts!! :beam:

senocular
August 17th, 2003, 12:46 PM
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

RvGaTe
August 17th, 2003, 01:32 PM
good to know, but how.... i dont know what to fill in...

pom
August 18th, 2003, 05:41 AM
Originally posted by senocular
WOOHOO! happy 5k :beam: :love: :love: :bu: :bu: :thumb: :crazy: