you're sending a comma separated string to the server?
why not have 2 hey digits for all the data and omit the comma? this would
bring your data to 2/3 of its size, which means 26sec*2/3 = 17.3sec
when this works, you could try to send binary data - so instead if sending
the string "ff" you would send the binary byte 255. if this works, this
would cut the time in half again => 8.6sec
if you can't create binary data, you could still use base64 encoding
instead, which would give you 8.6*1.33 = 11.5sec.
Yeah, I'm sending an array of colors. What's a hey digit? And it's not FF,
that was just an example, it's colors so it's FFFFFF or 16777215 as an
integer and it's not any faster to send as integers, in fact I found it a
little slower so am sending the hex string. Keeping in the commas just makes
it easy to reconstruct the image since if an array index is null I just use
the last good color. I did say it was simple. :) I'll definitely give base64
a shot. I'm stuck with AS2 here so I didn't think I could do binary, but
Juan seems to say it's possible.
Thanks
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders