How to load Flash Player.plugin?
How to load Flash Player.plugin?
- Subject: How to load Flash Player.plugin?
- From: "Alexander Bokovikov" <email@hidden>
- Date: Fri, 28 Sep 2007 19:12:21 +0600
Hi, All,
I'm pretty new in Cocoa, and my first interest is to develop a small
(I hope!) app, which could communicate with the existing Flash Player
plugin.
I'd like to implement such functions as load SWF file, call some existing
(and well-documented by Adobe) commands like movie Play/Pause, get some
information back to my app (like current frame number), etc.
As far as I understand I need to create an application, loading this plugin
and connecting it with some NSView subclass within my app window. I've got
some books about plugins, and already have got some basic understanding
about plugins technology in Mac OS X. But I have some general questions,
which prevent me from going ahead. I hope there is anybody out there, who
already did the same job, so my questions could be answered with ease.
1. Is Flash Player plugin a CFPlugin or NSPlugin? How to detect it?
2. If it is CFPlugin, then where could I get its classes and factories
UUIDs?
3. Can CFPlugin be connected somehow with NSView subclass?
How to do it? If it can't then is it possible to create a Cocoa app,
working with Flash Player.plugin?
4. For the NSPlugin I also don't see a good and clear example of how to
connect the plugin with NSView. All samples in books deal with simple
non-visual plugins. Or have I missed anything?
Appreciate it, if anybody can help. I'd promise to publish my result with
full source code (because I can't find such code sample upto now), but I
definitely need some basic support in theory understanding.
Thanks in advance!
-Alex
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden