S.O.S. > using the drawing API on a Sprite

Hello,
I’m new to AS3 so I have a few questions, hopefully someone will be able to help me:

  1. Is it possible to use the drawing tool features over a Sprite instead of a Bitmap or the canvas should always be a bitmap?

  2. I have a function that generates different bitmap layers and gives the active layer the name “layer” and I need to draw over that layer instead of the stage
    Here’s part of the code which draws on the stage:


stage.addEventListener(MouseEvent.MOUSE_DOWN,prepareToDraw);
function prepareToDraw(event:MouseEvent):void {
stage.addEventListener(MouseEvent.MOUSE_MOVE,drawGraphics);
stage.addEventListener(MouseEvent.MOUSE_UP,stopDrawing);
}

My question is: is it possible to draw over the active “layer” instead of the stage? I’m stuck with this problem and I can’t find the solution :frowning:
Any help will be very appreciated.
thank you very much