just catching up on the thread a bit , Kevin wrote...

"but it doesn't do any emulation of Flash's APIs (I'm pretty sure)"

check it out...

http://www.haxenme.org/api/

then have a look at all the stuff in the nme package, display, errors,
events, external, filters, text etc. are all used as you would use them in
flash except they compile to c++ (iOS, android, webOS, mac, pc, linux),
flash and html5.


On 30 November 2011 12:09, tom rhodes <tom.rho...@gmail.com> wrote:

> Hey Jason,
>
> haxe has fantastic potential now with NME, so you can export to iOS,
> andriod, webos, html5/JS, windows, osX and linux. all from the one codebase.
>
> but even vanilla haxe is fantastic for javascript. jQuery is in there as
> standard, here's a short example of assigning an event to a button...
>
> class Demo
> {
>     private var myButton:JQuery;
>
>     static function main()
>     {
>         new JQuery(Lib.document).ready(function(e) { new Demo(); } );
>     }
>
>     public function new()
>     {
>         myButton = new JQuery("#myButton");
>         myButton.click(myButtonClicked);
>     }
>
>     private function myButtonClicked(e:JqEvent):Void
>     {
>         // do stuff
>     }
> }
>
> ... that's straight up haxe targetting JS. it makes working with JS a LOT
> easier, you get all the compile time checks, nice structure etc.
>
> with conditional compilation, you can have all you logic/model shared and
> the code to handle the interactions and display stuff split to target the
> individual platforms of your choice.
>
>  ah, and don't forget, haxe brings all these benefits to the server side
> too :)
>
> tom.
>
>
> On 29 November 2011 21:19, John McCormack <j...@easypeasy.co.uk> wrote:
>
>> This FDT Haxe video may be of interest...
>> http://vimeo.com/31122674
>>
>> John
>>
>>
>> ______________________________**_________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.**com <Flashcoders@chattyfig.figleaf.com>
>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
>>
>
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to