--- In svg-developers@yahoogroups.com, "ddailey" <[EMAIL PROTECTED]> wrote: > > In IE/ASV, I am able to use animationObject.beginElement() and > animationObject.endElement() to start and > stop a specific animation. It's more focused than pauseAnimations() and > unpauseAnimations(). > > In order to invoke either, though, in IE, I have to first issue a command of > the form > animationObject.setAttributeNS(null,"end", "undefined") -- since otherwise > the endElement() is ignored. > > Doing the same thing in Opera though results in a sudden crash of the > browser(at least in Windows XP Pro SP/2). I've included a small example at > the end of this to illustrate. > > I would surmise this to be a bug in Opera (it ought not to just crash). > However, if I remove the > A.setAttribute("end","undefined") > then Opera doesn't crash, and the animation stops as desired. Incidentally, > setting end="undefined" inside A's animate tag (which also works in IE) > doesn't cause Opera to crash, but it also fails to stop the animation.
In my understanding setting begin="indefinite" and end="indefinite" on the animation element defines that the animation is supposed to be started and stopped with beginElement and endElement calls. When doing that as in <http://home.arcor.de/martin.honnen/svg/test2006082701.svg> neither Opera 9 nor Adobe SVG viewer 3.0 have any problems in starting the animation when you click 'GO' and stopping it when you click 'STOP'. Is that what you want to achieve? ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/