View Single Post

  #4 (permalink)  
Old 05-11-2004, 02:01 AM
Anonymous
Guest
 
Posts: n/a
Default Reset all animations

Quote:
Originally Posted by Lewey
The problem I have is that I can bind all the begin commands of my animations to a some button.click, but then how do you automatically start the animation without the user having to click the button first?
You can give many values in begin as by example
begin="0;button.click"
and animation will begin when svg is loaded and also when user click button

You can also start animation by script, you write begin="indefinite"
and in script you use beginElement()
http://www.learnsvg.com/tutorial2/ex...ginElement.svg
or with some value beginElementAt()
http://www.learnsvg.com/tutorial2/ex...nElementAt.svg

Michel
Reply With Quote