I\'m trying to render a circle with a radial gradient but I can\'t seem to figure it out.
var bkgdGrad:Shape = new Shape(); bkgdGrad.graphics.beginGradientFi
create a gradient box with a new Matrix object and assign the new matrix object to your beginGradientFill matrix parameter:
matrix
flash.geom.Matrix.createGradientBox()
[EDIT]: here's a simple online tutorial that should help explain more:
Drawing Gradients Programatically in AS3