Hi, Cameron, thank you for your expanation, now I think I understand how to do the animation. Sadly, the original error still persists...
Cameron McCormack wrote: >> <image width="50" height="50" xlink:href="frame0.png" dur="1s"> >> <set attributeName="xlink:href" to="frame1.png" dur="1s" /> >> ... >> <set attributeName="xlink:href" to="frame9.png" dur="1s" /> >> </image> > Something like that would work, but you'd need to use > @begin attributes on the <set>s so that they don't all > apply at once. Ok, that's a very good point, and I fixed it. > Or, you can use <animate> with the list of > URLs in a @values attribute. For example, the following > works for me: > > <image xlink:href="frame0.png" width="100" height="100"> > <animate attributeName="xlink:href" > values="frame0.png; frame1.png; frame2.png; frame3.png" > calcMode="discrete" dur="4s" repeatDur="indefinite"/> > </image> This is, of course, much more elegant than my solution! I will use this from now on. Sadly, neither of these work on my system. I get the first frame displayed correctly, but then (in 1 second intervals), I get the following error popping up (for successively every single image file): SVG Error: access denied (java.io.FilePermission /home/jerzy/work/svg/tests/frame1.png read) Since the SVG code should be correct now, I guess that the problem must be somewhere else. I guess, the error I had during my first Batik installation might be related: Jerzy Jalocha wrote: > I'm using the sun-java6-jre package > under Xubuntu 8.10. I also installed the libbatik-java > package, but was unable to run squiggle from there, because > of the following error: > > Java.security.AccessControlException: access denied > (java.net.NetPermission setDefaultAuthenticator) > etc... > > Which (from a long search on Google) seems to be related to > some security settings in Java. But since I didn't touch any > settings there, I don't really understand anything about > that. > > Thus, I just downloaded the binary release from the batik > site, and am using that version, which did work fine, so > long... The AccessControlException for Batik has been reported by several persons on different forums, and I think I read somewhere that it might be related to Java6. I will try to un-install sun-java6-jre, and replace it with sun-java5-jdk. See if that helps, and I will report back. Many thanks, Cameron! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
