Memory api + as3 code generator?

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

Memory api + as3 code generator?

Daniel Uranga
When trying to generate as3 code from haxe code using flash.Memory api, I get this:
haxe -main Main -as3 bin/as3 -cp src
src/impl/prediction/ICPrediction.hx:163: characters 2-32 : Unknown local __vmem_set__

Its possible to generate as3 code using flash.Memory api?

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

Re: Memory api + as3 code generator?

Tony Polinelli
as3 does not have access to the memory APIs that is something haxe specific (due to Abobe keeping them hidden). You can export to an SWC if you want to use your haxe libraries in as3 with the benefits of the memory APIs. The polygonal libs use this. 

cheers


On Wed, Jun 29, 2011 at 3:49 PM, Daniel Uranga <[hidden email]> wrote:
When trying to generate as3 code from haxe code using flash.Memory api, I get this:
haxe -main Main -as3 bin/as3 -cp src
src/impl/prediction/ICPrediction.hx:163: characters 2-32 : Unknown local __vmem_set__

Its possible to generate as3 code using flash.Memory api?

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



--
Tony Polinelli
http://touchmypixel.com

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