Drawing circles

Hi guys, im new to flash , but know java and c extensively, so am learning it as I go…

Anyways, I need to allow the user to create a circle with a specific radius and colour in a certain frame (lets say frame 2), and then add that circle as a symbol to a different frame (say frame 1).

First off, im simply creating a circle… This is what ive got in frame 2 so far:

(in Frame 2 of the timeline)


stop();
import flash.display.DisplayObject;
import flash.display.Graphics;
import flash.display.Shape;

function customCircle(r:Number, x:Number, y:Number)
{
	graphics.lineStyle(1, 0xFFFFFF);
        graphics.beginFill(0xFFFFFF);	
	graphics.drawCircle (x,y,r);		
}

customCircle(5, 0, 0);

Ive got this much working, but I dont understand how to convert the output of this function to a symbol usable in another frame…

Thanks in advance…