Chris Velevitch wrote:
While ago, someone mentioned how easy it is to write a C++ wrapper to
create a desktop application with Flash as the UI. According to the
documentation, "The ExternalInterface class ... lets you easily
communicate from ActionScript and the Flash Player container ... to a
desktop application that embeds Flash Player". I've been trying to
find information on how to do this. In particular, what is it (ie the
name and location of the file) you're embedding (especially when
writting a cross platform app) and what is it's API.

I'm not sure I'm guessing the right question here, but if it's "Which of the browser APIs does Flash Player's 'externalInterface' call into?", then it's Microsoft's ActiveX Scripting host routines, and the NPRuntime API for plugin-using browsers:
http://www.mozilla.org/projects/plugins/npruntime.html

If you can emulate either the first (for system-level ActiveX invocations) or the second (for application-level NSPlugin invocations) then your own C++ app should be able to communicate with the Player. But I'm not sure whether you're writing your own C++ app, there were a bunch of sentences, but I'm not sure what is being sought.

jd




--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to