some stuff ive been stuck on. been trying to get these to come up one after another: set the colour to white
draw a filled circle
set the colour to blue
draw an outline circle

i dont know how to make the loop continue and at each loop carry out on of these instructions?

any help appreciated!!

var canvas;
canvas = openGraphics();

var x;
var y;
var size;
x = 10;
y = 10;
size = 200;

while( size > 0 )
{
canvas.drawEllipse( x, y, size, size );
x = x + 10;
y = y + 10;
size = size - 20;
}
canvas.paint();