[haXe] haXe Remoting

Nicolas Cannasse ncannasse at motion-twin.com
Mon Apr 3 10:13:15 CEST 2006


> What transfer system is used for Flash <-> Server?  Can the server
> "push" data to the Flash player without the Flash player first sending
> a request?

There is several kind of communications possible :

Flash -> Server : through HTTP/LoadVars or XMLSocket , always asynchronous

Flash -> JS : through FSCommand (async) or Flash8 ExternalInterface (sync)

JS -> Flash : loading a SWF that uses a LocalConnection (async) or using
Flash8 ExternalInterface (sync ?)

JS -> Server : using XMLHttpRequest (sync OR async)

The server itself can't establish connections on the client, so both
Server -> Flash and Server -> JS are simply results of a
client-established operation. Pushing Server data onto the client can
only be done in Server -> Flash using XMLSocket. This not the thing I'm
concentrating on right now.

Nicolas



More information about the Haxe mailing list