how to use as3 API in haxe?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

how to use as3 API in haxe?

slenkar
How do you use a as3 library in haxe?
such as 6rounds.com API
Reply | Threaded
Open this post in threaded view
|

Re: how to use as3 API in haxe?

slenkar
the API is in SWC form , can this be used in haxe?
Reply | Threaded
Open this post in threaded view
|

Re: how to use as3 API in haxe?

Cauê W.
sure, you have to rename the swc to .zip, and extract the swf from it. From the swf, just use haxe --gen-hx-classes on the file, and it will create the externs.

Cheers!
Cauê

2010/5/28 slenkar <[hidden email]>

the API is in SWC form , can this be used in haxe?
--
View this message in context: http://haxe.1354130.n2.nabble.com/how-to-use-as3-API-in-haxe-tp5113310p5113339.html
Sent from the Haxe mailing list archive at Nabble.com.

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


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: how to use as3 API in haxe?

Philipp Klose-2
In reply to this post by slenkar
The current SVN version of haxe supports direct import from swc files
through the -swf-lib command

slenkar wrote:
> the API is in SWC form , can this be used in haxe?
>  


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