massiveinteractive/mloader — pull request #3 by DavidPeek (2012-10-23 01:15:07+00:00)
Title: Adds async http loading support to NME

haxe.Http is synchronous under NME (as it is just the CPP implementation which is built on sockets). This pull request adds support for async requests in NME.

The implementation is not ideal, as there is now some duplication/complexity between different targets. Future work should split implementations between JS, Flash/NME, and Neko/PHP/other and use the low level APIs available on each platform (XMLHttp, URLLoader) to ensure consistent behaviour and API.

The pull request does not affect behaviour on existing supported platforms, just improves behaviour for NME.