BitmapData for Flash on Haxe with fast memory