In a the client of a client/server AIR app I have:

function onSocketData(event:ProgressEvent) : void {
  var result = _socket.readObject();
  // do something with result
}

How can I be sure the whole object is available before I try to use it?

Things work as expected most of the time, but with large pieces of data or on 
laptops will hang when operating over a wireless connection, so I suspect the 
object is spread out over multiple ProgressEvents.

I can only find pseudo code illustrating what you should do reassemble an AMF 
object received in separate ProgressEvents.

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to