Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to call C++ functions using ExternalInterface

Guest
Oct 20, 2009 Oct 20, 2009

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.

TOPICS
ActionScript
3.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 20, 2009 Oct 20, 2009

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 21, 2009 Oct 21, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines