Right, but if I don't want this function to be an event listener tied to a specific event? Basically I have an svg that I use in HTML via that adobe plugin, and from the svg I can call global functions that are defined in the HTML. They aren't all event handlers tied to button clicks and such. So I want to be able to do the same with batik (running batik in an applet).

Or can I somehow define an event handler, and then explicitly fire the event from within the SVG script, rather than assigning it to onclick for some object? This would accomplish the same thing.

Ken

Thomas DeWeese wrote:

Ken Larson wrote:

I have a similar, but slightly different question -

In my case, I'm using the JSVGCanvas in a swing applet, so I don't want to call an external .jar file, I want to call a method/class that is in my swing applet (which is of course currently being used to display the SVG). There must be a way to do this, any pointers?


Search this list for 'addEventListener'.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to