2 Replies Latest reply on Mar 24, 2012 6:47 AM by Mike-238572081

    Embed C code in Flex Mobile app?

    Mike-238572081 Level 1

      Hi all,


      I'm trying to write a fast but heavily involved image processing filter for both mobile and desktop, as a Flash Builder project.


      Is there a way to compile a native C module for each of the platforms -- Android, iOS, Windows, Mac, Blackberry -- and then link that efficiently to the Flash part of the app?


      It would be a Flash app that calls an image processing function to regenerate the preview image whenever the parameters change, and then to create the final image.



      If that's not possible, please help me understand (since I'm completely new to Flash) if ActionScript itself is fast enough for pixel-by-pixel processing of a large camera image on a mobile device.  How much slower would it be than C? 



      Thank you!