Drwaing board to image file

Hi all!

I’ve made a drawing board in Flash MX and I want to create an image file after finished drawing(save image).
Is there a way to get the RGB values for each pixel of the board and then send them to a “binary code” file to create the .jpg?

Excuse my english. I’m a 23yrs old greek web designer.
New to AS too…

Thank you all in advance.