Hi Sebastien.
grillot sebastien wrote:
I want to read this svg file
(http://www.kevlindev.com/dom/path_data/gravity.svg) in a svgcanvas
(with this code : http://xml.apache.org/batik/svgcanvas.html) the only
thing that i change is
svgCanvas.setDocumentState(JSVGCanvas.ALWAYS_INTERACTIVE)
but there is no animation... why ?)
Because when you set the document to be just interactive you only
get support for links and tooltips (title/desc) you don't get support
for DOM modifications/ecmascript. You need to set this to
ALWAYS_INTERACTIVE or leave it alone.
The choice of ALWAYS_INTERACTIVE is only really useful for
security freaks (still have access to links and other info but
no script will run). The auto detector can _always_ properly
detect a document that needs interactivity, and it can always
detect a document that uses ecma script, what it can't detect
is that your Java Program is going to come in and modify an
otherwise 'static' document.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]