XML Elves

XML Elves

<community>of XML and SVG Developers</community>


Reset all animations

This is a discussion on Reset all animations within the SVG Questions forums, part of the SVG Forums category; I was just wondering if there was a way to reset the base timeline, my problem is I have several ...


Go Back   XML Elves > SVG Forums > SVG Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices


Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2004, 08:03 PM
Junior Member
 
Join Date: May 2004
Posts: 4
Default Reset all animations

I was just wondering if there was a way to reset the base timeline, my problem is I have several different animations set to start and stop and different times and I would like a reset button to reset the base time back to 0. Also possibly a general loop so that I could reset the time after a certain number of seconds. Thanks.
-Lewey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2004, 09:48 PM
Junior Member
 
Join Date: May 2004
Posts: 4
Default Reset all animations

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?
Thanks.
-Lewey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-11-2004, 01:56 AM
Anonymous
Guest
 
Posts: n/a
Default Re: Reset all animations

Quote:
Originally Posted by Lewey
I was just wondering if there was a way to reset the base timeline, my problem is I have several different animations set to start and stop and different times and I would like a reset button to reset the base time back to 0. Also possibly a general loop so that I could reset the time after a certain number of seconds. Thanks.
Use setCurrentTime() to reset or give value to timeline
See example from tutorial about scripting
http://www.learnsvg.com/tutorial2/ex...urrentTime.svg

Michel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
animations, reset


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 07:55 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

Canon Pixma Ink Cartridges...
Pay less for Canon Pixma ink cartridges.

print cartridges
Need ink cartridges for your printer? With us you can print away without worrying. Ring our freephone before 4pm for same day dispatch!

Hard Disk Drive Data Recovery Lancashire
Are you in Lancashire and urgently need someone to do recovery of data on your hard disk drive? Call us for a free quotation.

ink cartridges Free UK Delivery on ink cartridges such as Canon, Dell, Epson, hp & Lexmark.

1 2 3 4 5 6 7 8 9 10