aduros / flambe

Rapidly cook up games for HTML5, Flash, Android, and iOS.
https://github.com/aduros/flambe/wiki
MIT License
745 stars 118 forks source link

how to access the php file in the server #325

Closed zhulu-mike closed 9 years ago

zhulu-mike commented 9 years ago

there is not class to access php file in the server which like the urlloader in actionscript?

markknol commented 9 years ago

Yes there is, but it's not Flambe specific but Haxe (it works across all Haxe platforms), you can look at haxe.Http for communicating with a server. You can check out this example: http://try.haxe.org/#D5D79

if you want to load assets, check https://github.com/markknol/flambe-guide/wiki/Working-with-assets