Hi, Using Adobe viewer we could have the same ECMAscript handle both HTML and SVG file.
In Batik, it was pointed out to me that SVG can be manipulated from an external ECMAScript by accessing the applet and having the applet manipulate the SVG file. The following Batik example shows that: http://xmlgraphics.apache.org/batik/demo.html Is it possible for the Javascript that is a part of the SVG, loaded inside the scope of Batik to interact with the Applet hosting the canvas? For example, how can I have a Java method of the applet call a ECMAScript function that is inside the SVG content, and/or vice versa? I would like to complete the circle of interaction - outside javascript accessing the applet which in turn accesses the inner ECMAScript, and the inner ECMAScript accessing the applet, and the applet talking to the outside javascript. If it would require small changes in the Batik code, I can do that too with my local copy - if someone can tell me it's possible and show me the right direction. Thanks, Praveen -------------------------------------------------------------------------------- Telelogic Lifecycle Solutions: Helping You Define, Design & Deliver Advanced Systems & Software Learn More at www.telelogic.com Praveen Nayak Software Engineer Telelogic India Pvt Ltd 39/2, 2nd Floor, Sagar Complex Bannerghatta Road, 560 029 Bangalore India Phone: +91 (80) 419 95800 x194 Fax: Mobile phone: [EMAIL PROTECTED] http://www.telelogic.com Telelogic - Requirements-Driven Innovation! ------------------------------------------------------------- The information contained in this e-mail, including any attachment or enclosure, is intended only for the person or entity to which it is addressed and may contain confidential material. Any unauthorized use, review, retransmissions, dissemination, copying or other use of this information by persons or entities other than the intended recipient is prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
