Leif Wells wrote:

I'm sorry, but wouldn't it be better/faster if we used Remoting?
I like the new ExternalInterface way best since it is synchronous. Since Remoting is a-synchronous the Flash side of communicating with the container will be more cluttered (as a result of the many callbacks).

As for speed - I didn't do any measurements but I presume the EI way is probably fastest since there isn't any inter-process IO involved (since the Flash player runs in the containers process). Although using AMF over a LocalConnection can also be in one process this probably isn't faster either: I found using the LC to be very slow as a result of all the synchronistion that needs to take place on the shared memory as well as the Flash player not frequently checking for new incoming data.

Sending actual Objects across the wire to an EXE seems much nicer.
Using EI you're also doing that - the only difference is in the formatting: binary for AMF, XML for EI. Both will require (de)-serialization so there's not much difference there either. An extra bonus might be that EI doesn't have any size limitations (didn't test that yet) on the data being transfered, unlike AMF.

Cheers,

Edwin van Rijkom
http://www.vanrijkom.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to