开发者

How do I call C functions from Flash?

Currently I have a command line OSX executable that I am compiling in xcode. I'm wondering if there is a way to call functions / interact with a flash or flex project. I found some 开发者_StackOverflow中文版information about a flex c++ bridge, but apparently it is only for windows.

Can this be done with air?


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.


You can also use native extensions


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜