views:

84

answers:

2

Currently I have a UNIX executable that I am compiling from xcode. It runs in terminal. (osx) I'm wondering if there is a way to call functions / interact with a flash or flex project. I found some information about a flex c++ bridge, but apparently it is only for windows. Can this be done with air? Any suggestion?

+2  A: 

I don't know of any way to call C functions directly, but AIR has a "native process API" for "communicating with native processes using standard input and output", which can work with a command line executables.

Lars
Lars, it appears you are totally correct, however, I Found some really interesting info on Alchemy. Apparently alchemy allows you to compile C code in the flex IDE, allowing you to utilize different C classes in flash labs.adobe.com/technologies/alchemy/
A: 

you need to use adobe Air check this Lynda.com AIR 2 with Flash and Flex Essential Training
http://www.lynda.com/home/DisplayCourseNoTabs.aspx?lpk2=68629

Maged