开发者

How do I call C functions from Flash?

开发者 https://www.devze.com 2023-01-16 05:38 出处:网络
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 开发者_StackOverflo

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

精彩评论

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