HTTPService only allows text. You can however convert the ByteArray
into Base64 and then transfer it via HTTPService.

Note that this can be quite large, so you may want to encode it as
JPEG first. There are two advantages to doing this...reduced network
traffic, and you also then have the data in an appropriate format for
users to download and save to their hard drive.

There is a JPEG converter available here:
http://code.google.com/p/as3corelib and an easy to understand tutorial
here: http://mxdj.sys-con.com/read/370795.htm 

For an example of this in production, go here
http://www.lookfamous.com.au/

Happy coding,

Andrew


>
> Note sure, if HTTPService allows anything beyond text.... You can use
> URLLoader to send the data to server..
> 
> -abdul


Reply via email to