[flexcoders] Re: automated image files on a headless server with AIR?

2008-06-04 Thread netdeep
Java programmers all seem to think that running an image generating process in a web browser window on the server is bad practice. So I think I might just go ahead and compile it as an AIR app. I'm not sure though how to deploy AIR apps though. Can they go in a .war file? If someone

[flexcoders] Re: automated image files on a headless server with AIR?

2008-06-03 Thread netdeep
I am using the following method to save the image: private function captureImg(comp:UIComponent, name:String):void { var imageSnap:ImageSnapshot = ImageSnapshot.captureImage(comp); var imageByteArray:ByteArray = imageSnap.data as ByteArray;