In order to save the image file to disk, you need to use the AIR File API, which is available only to AIR applications.
You can capture the image, encode it as PNG or JPEG using mx.graphics.codec.JPEGEncoder or mx.graphics.codec.PNGEncoder, then upload the resulting byte to a server. Then your server application can save the file to disk on the server. I found these two links helpful: http://stackoverflow.com/questions/780018/in-flex-how-do-i-create-populate-and-display-a-bitmap http://blog.everythingflex.com/2008/02/25/create-images-with-air-and-jpegencoder/ Hope this helps, Michael Portuesi --- In flexcoders@yahoogroups.com, Wally Kolcz <wko...@...> wrote: > > Can someone point me to an example of using the BitmapData.draw() to > capture an image of a container on the screen and save it to the > harddisk of the server. I see some that show me how to capture and > process the image, but the saving it to the server is a mystery. > > I want my kids to be able to save their drawings/colorings to the web > site art gallery. Thanks! >