On 09/11/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote:
Now, there you talk. This is a very interesting project. So
potentially, the java applets would also work as desired.

:-)  Yes, the same as what you embed a applet in the Mozilla Browser,
you should be able to do it in MPP.  All Mozilla plugins expect a
certain API, and MPP implements that.

The only problem is that the documentation of the Mozilla Browser
Plugin API is very hard to find.  I had to look at a lot of C source
(Mozilla) code to figure most of it out.

The project is not officiel.

What do you mean by official?  It's not part of Lazarus if that is
what you mean.  If it is stable enough, it could be.

I must find a technology that can embed an applet
inside a normal application and have some control on it (as far as the
applet is concerned). If possible to interract with java script or any
other way to initialize the applet as it is possible with java script.

Seeing that JavaScript can talk to the Java applet, it has to talk via
some API.  If you can find out what, that could be added to MPP.
Currently (as far as I remember - I haven't touched the code since
January) you can only pass parameters to the plugin as it gets loaded.
The interaction should be possible, you just need to know more about
how JavaScript talks to plugins.  That would be a very cool feature
though.  Imagine what good looking GUI interfaces you can build with
embedded flash files inside you app!  :-)

But I must check if making java applets will work. I saw painting
problems if I resize the screen: I must stop / start the flash so that
it paints properly after...

I am sure there are main more bugs.  The project is far from
production quality, but should have a good base to continue on.  Linux
support still requires most work.

Regards,
 - Graeme -

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to