On Fri, Oct 3, 2008 at 6:36 PM, Benny <[EMAIL PROTECTED]> wrote:

> The only problem now is that in the production code I have to send several
> ByteArray objects to the server in one go. And I have to process them
> separately in the PHP script. Hence I thought the obvious thing would be to
> assign the various vars to an URLVariables object and send that as the
> URLRequest data. On the PHP side I wanted then to access those vars again as
> members of the $_POST array and gzinflate the compressed vars there for
> further processing.
>

Can't you just mash the ByteArrays into one long ByteArray; and at the
beginning of that ByteArray store the number of arrays and the length
of each one?

Then send it as one array and break it apart again once the decoding is done?

Ian
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to