Author Archives: ascontest

Three Color Triangle

CLICK HERE TO COPY
Actionscript:

/*

*       Petri Leskinen, Finland

*       25 October 2009

*       pixelero.wordpress.com

*

*       Actionscript 3.0, Flash CS3, Flash Player 10

*

*       threeColorTriangle

*       draws a triangle with a gradient fill of three colors for each vertex

*       using graphics.drawTriangles [...]

Posted in Graphics, Vector | Tagged , , , | 5 Comments