# Haxe and flash?

**URL:** <https://forum.kirupa.com/t/haxe-and-flash/330241>\
**Category:** random\
**Created:** [December 18, 2012, 1:00am UTC](https://forum.kirupa.com/t/haxe-and-flash/330241 "2012-12-18T01:00:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lnsiu](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Post date:** [December 18, 2012, 1:00am UTC](https://forum.kirupa.com/t/haxe-and-flash/330241/1 "2012-12-18T01:00:13Z")

</div>

Yesterday I used a SWC pngEncoder made from haxe in an AIR application, and it performed 5 times faster than the adobe pngEncoder, with optional asynchronous  
compression. So I downloaded haxe right now and am looking at a tutorial.

On the [haxe.org](http://haxe.org) page, it says you can do stuff you only can do with alchemy in haxe for flash, so naturally this seems interesting.

Is it possible to include c++ math libraries and fast pixel operations?  
Is it easy if you know your way in flash and as3 or is it too difficult?

(if you just want the pngEncoder, I found it here.) [https://github.com/cameron314/PNGEncoder2](https://github.com/cameron314/PNGEncoder2)
