how to call C++ functions using ExternalInterface

Copy link to clipboard
Copied
I am trying to call a C++ function from actionScript3. using Programming ActionScript 3.0 > Using the external API > Using the ExternalInterface class > Calling external code from ActionScript, I could call function from JavaScript .
it will be good if i could call C++ functions directly from Action Script. Please provide some example if it is possible.
Copy link to clipboard
Copied
Hi, Praja.
Take a look at Adobe's Alchemy project. It allow you to compile C/C++ code inside AS3.http://labs.adobe.com/technologies/alchemy/
There is a discussion at http://board.flashkit.com/board/showthread.php?t=747758 about communicating Flash and C++. It's really through ExternalInterface.
Regards,
CaioToOn!

Copy link to clipboard
Copied
Not sure if this will help you, but I believe most of the Flash wrapper apps will let you call methods within DLL's. I use SWFKit here, and it allows calling DLL methods, ActiveX methods, and other scripting language methods like Python, Perl, etc.

