via twitter:
via haXe mailing list:
via haXe forum:
via twitter:
via haXe mailing list:
via haXe forum:
via twitter:
via haXe mailing list:
![]()
I’ve been playing around with Beacon Push, a service which allows you to enable any web app to have real-time features. They provide a javascript file, which handles all aspects of messaging, websockets, flash sockets, comet etc all which depends on what the users browser supports.
I want to take a shot at creating a Beacon Push client library for haXe sometime, but lets stick to the server side script.
Beacon Push also support a REST api, so I created a small simple script which separates everything into function calls (what else). You can download the first revision from my dropbox folder.
The script uses the JSON and HTTP scripts from the Caffeine-hx library. If you haven’t seen or heard of the Caffeine-hx library, then you need to check it out, as it provides alot of features haXe currently doesn’t support natively.
The reason I have the HTTP script instead of the standard haXe HTTP script is simple, it didn’t work with POST-ing JSON data.
I’m not sure why, as the headers it created where fine. But hopefully I will figure it out, so there is one less dependency. If any one else figures it out, let me know!
The script is based on the Beacon Push Python library, by Joakim Hamren.
Flash Player 10.1 running on jailbroken iPad, soon for other iTouch stuff. Find the source code at comex’s github page.
AT-AT Day Afternoon
Optimizing web content for Flash Player 10.1 [ by Thibault Imbert ]
After reading the amazing work Hugh Sanderson (@GameHaxe) has done with getting haXe to work on Android through c++ (Android NDK), I thought, shouldn’t haXe already work with the pre-release version of Adobe Air.
So I signed up, answered all the questions and got access to the pre-release download and created a very simple haXe generated SWF.
I used files from a FlashDevelop generated Adobe Air AS3 project and edited both batch files to use the pre-release files and added -target apk.
I have never used the Android SDK, but it was easy to setup and install new apps onto the emulator via command line.
After I had done the video, I downloaded Hugh’s AndroidFlashTest.swf and installed it on the Android emulator, and it works and shows only 7fps max, but the emulator is crazy slow, I would love to see what the real performance would be like.
This was only to see if haXe worked ok through Adobe Air on Android, and needs more testing to see if haXe specific code plays nice.