Drawing api help

Hi newbie to as3,

I want some help in drawing api please its urgent.

the problem is…

I’ve a drawing canvas say [COLOR=Blue]canvas_mc
[COLOR=Black]I’ve 5-6 buttons say [COLOR=Blue]rect_mc, circle_mc, roundcornerrect_mc, line_mc, curve_mc

[COLOR=Black]I want to draw some shapes like circle rectangle, rounded corner rectangle, line and curve on pressing the particular button mc’s.

I want to draw these shapes on press dragging on the canvas_mc.

Even I want some anchor points for these so that I can edit it like scaling rotating.

please help me in this.

thanks and regards
Harish
[/COLOR][/COLOR][/COLOR][/COLOR]