actionscript 3 - Can I send more than one 'stream' of jpeg ByteArray data in a single URLRequest and output 2 images? Flash AS3 -> PHP -
i have as3 swf users can upload jpg images ec2 instances sit behind , elastic load balancer. jpg images converted bytearray data , sent using urlloader.load(urlrequest)
i make 2 calls when uploading, 1 upload large version, upload thumbnail version. php script bytearray data uploaded converts file using file_put_contents($destination, $globals["http_raw_post_data"])
is possible combine these 2 requests single request contains both bytearray data large , thumbnail images , 'split' http_raw_post_data create 2 files @ server. better uploading bytearray large version using imagemagick resize resulting image thumbnail realise option.
any suggestions? cheers
you can try somethis this: multipart form data in as3 class version 1.2
Comments
Post a Comment