This content has been marked as final. Show 3 replies
you can use the bitmapdata class and some server-side scripting to save images using as2. the main problem is data compression to speed processing of the image.
mario klingemann's bitmapexporter class (www.quasimondo.com) offers some image compression methods or check dave mennenoh's (www.dmennenoh.blogspot.com) simple but surprisingly effective array compression method:
In addition to what kglad said (thanks for the plug, BTW), it more sounded
to me like you want users to be able to upload images to the server, instead
of letting people save jpeg's to their local machine. In that case, just use
the FileReference class' upload method. You'll also need a server-side
script to save the file on the server, and store the image name in your
So, I'd suggest you start by looking in the Help at the
Adobe Community Expert
oops, i think you may be correct dave.
i streamlined (slightly) and used your array compression method to email graphics created in flash and thought the time required for processing was comparable to mario klingemann's class. but your method is much easier to use (and understand).
the main time consumer is the getPixel() loop. it would be nice if as2 had a more efficient way to assemble the data in an image.