Hello John!

thanks very much for your feedback!

I have done further investigations today, basically when i am talking about "cross-plattform" i think of it in a sense that i can implement an active-x host under windows (which i already have got!) and some other solution for OSX. As long as the code compiles cross-plattform using various #ifdef's it's fine to me.

The main "cross-plattform" aspect for me actually is Flash itself. - Reusing the user-interface on multiple platforms.

Concerning the OSX implementation, i consider the following solutions:

1) using webKit (an easy one, i got this working today however i don't think the scripted communication between Flash Player and my code is a nice way to do it!)
2) hosting a netscape plugin
3) XPCOM
4) writing my own webkit plugin host (at the moment i consider this to be the best solution)

I consider 4) the most useful way of implementation in my case, especially if you're considering i want to implement the Flash 8+ external API as well as the fact that i am not running a standalone application but i want to use flash for VST audio-plugins and/or AU audio units.

I'd be very interested what you think about the things I've written above, wheter you thing writing a Webkit Plugin Host would be a nice way.

Thanks,

Frank

p.s.: i've mainly oriented myself at Flash OSX projector tools. One was using webkit, and another one - i assume - did use it in a more "native" way (i assume way #4). Any tips/help/thoughts are highly appreciated.



----- Original Message ----- From: "John Dowdell" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Monday, October 30, 2006 10:13 PM
Subject: Re: [Flashcoders] How-To access Flash Player from C++ on OSX ?


Frank Baumgartner wrote:
I've already been Flash Player together with custom C++ solutions under Windows and it's working nicely. However, at the moment i am very interested on cross-plattform development using flash for user interfaces on both windows and OSX, but i've got very little experiences on OSX development, especially concerning the topic "how to access flash player on OSX !?".

This might be tricky, cross-platform. Here's the background:

Netscape 2.0 introduced a cross-platform browser extension mechanism, named Netscape Plugins. These platform-specific extensions were installed at the application level, into the browser, and could then support cross-platform SWF files.

But Microsoft used a different extension mechanism for its Windows browsers. They used the system-level ActiveX Controls. This is why the nested OBJECT/EMBED structure is used, and affected why the W3C outlawed EMBED and settled on OBJECT.

Because ActiveX Controls are system-level components, they can then be invoked by any application on the system. Netscape Plugins, though, are bound to the application space instead of the system space. That's why it's easy to do what you're doing on Windows, and more difficult on other platforms, or on Windows boxes which prefer Firefox to IE.

If your XCode skills include the hosting of Netscape Plugins, then you might be able to tap into the Mozilla Plugins folder yourself, or else ask your audience to copy the plugin into your own local directory (or do it during installation, etc). I haven't studied how XCode handles this, and how easy it makes it to host Netscape Plugins, but that would be the path on anything other than a straight Microsoft system.

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.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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