[haXe] SWHX Flash API

Lee McColl-Sylvester lee.mccoll at lyons-group.co.uk
Wed Aug 2 15:29:46 CEST 2006


How portable is this for use in Flex Builder 2?

Lee



-----Original Message-----
From: haxe-bounces at lists.motion-twin.com
[mailto:haxe-bounces at lists.motion-twin.com] On Behalf Of Edwin van
Rijkom
Sent: 02 August 2006 14:16
To: The haXe compiler list
Subject: [haXe] SWHX Flash API

Hi List,

I've been 'eating my own dog-food' today, and found that I didn't feel 
much like creating more graphically elaborate Flash front-ends for haXe 
desktop applications using haXe itself. I'd rather do GUI design in the 
Flash IDE instead.

To make this possible, I've written a small SWHX Flash API, that sets up

the connection between Flash and the haXe back-end and handles the 
(de)serialization of the remoting data that is being send back- and 
forth using the External Interface. These routines are direct ports of 
haXe's serialize and unserialize routines. I've dropped support for enum

and class types though, for they are not natively supported by Flash.

The code is in SVN:
API: https://svn.motion-twin.com/haxeDesktop/swhx/api/swhxflash
Sample: https://svn.motion-twin.com/haxeDesktop/swhx/samples/6-flash-api

Cheers,
Edwin


-- 
haXe - an open source web programming language
http://haxe.org



More information about the Haxe mailing list