You're welcome -- glad to hear that you're finding it useful :)
Insofar as a simpler script goes, I'm not sure whether it would be
possible as ByteArray is basically the way to store images server side
and PyAMF provides native support for ByteArrays. So with anything
else you're going to have to implement your own serialization/de-
serialization which will probably end up complicating things more than
the Flash Remoting-based solution.
If you ignore the image rotation/cropping calculations in there, it's
simply a matter of converting the BitmapData instance to ByteArray,
making a remoting call to the server and, on the server side, saving
the ByteArray as a blob. You can then serve it back either as a
ByteArray or as a regular image by either going through PyAMF again or
by simply writing out an image in your handler.
Aral
On Jun 8, 9:00 pm, Nate <
ncwe...@gmail.com> wrote:
> So you guys were right. Since Flash is client side, it cannot create
> a file on the server without the help from a script of some kind.
http://gaeswf.appspot.com/contains some great examples for building