I'm trying to make a small Flex3 app where the user can draw rectangles and circles on a canvas. I'm thinking that the user click a button "New Rectangle", the cursor switch to a crosshair, the user draw a rectangle (that updates as user is drawing), on mouse-up the rectangle is finished.
Any code, ideas and help would be greatly appreciated.

