On 19/07/2011 08:15, Gerry Beauregard wrote:
Hi folks,

Does anyone know whether there's a way to call native code from a Flash SWF or 
AIR app, for example to call functions in a DLL?  Something like Java's JNI but 
for Flash?

I have never heard of anyone doing that and I know of no direct mechanism to do so.

What is your use-case?



I realize it's possible to read and write local data files from a SWF (using 
FileReference) or from an AIR app (using the File class), but that's reading 
and writing data, not running code. I also know it's possible to run C code 
compiled using Alchemy - but that's not really native code, as Alchemy-compiled 
code isn't native code, but rather byte-code that runs on the ActionScript VM.

-Gerry
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to