- From: James Bentley <James.Bentley@guideworkstv.com>
- Date: Fri, 10 Jun 2005 06:54:11 -0600
- To: 'MAHE Vincent RD-TECH-REN' <v.mahe@francetelecom.com>, www-svg@w3.org
- Message-ID: <687B7858C99ED711B87B00B0D0D1C9220270DC45@LAMBIC>
Thank you, What is the possibility of getting an SVG element for defining the timer in the document? _____ From: MAHE Vincent RD-TECH-REN [mailto:v.mahe@francetelecom.com] Sent: Friday, June 10, 2005 1:57 AM To: James Bentley; www-svg@w3.org Subject: RE: Questions on SVGTimer Hello James, The SVGTimer interface already has a stop() method which enables you to stop the timer. If you call stop() and then start(), this is equivalent to a reset, right ? Concerning the event generated, I've been given an action to define a new "timer" event because the WG has decided to introduce this new event in the list of SVG events. Regards, Vincent _____ De : www-svg-request@w3.org [mailto:www-svg-request@w3.org] De la part de James Bentley Envoyé : jeudi 9 juin 2005 19:30 À : 'www-svg@w3.org' Objet : Questions on SVGTimer Given that an SVG Timer is obtained from SVGGlobal, is there an IDL specification of SVGGlobal that defines the method for this? Also, I realize this is in 1.2 full, what is the possibility of creating an element for this timer and extending its methods to include a reset? My current requirement is to support screen transitions based on user inactivity - i.e. a screen saver. I'm not certain that this can be accomplished with the 'set' element - since 'set' only changes attribute vaules and can not invoke a script, and script does not have animationTiming attributes. However, since SVGTimer is an EventTarget, I can add an EventListener to it to insure that I can produce the expected behavior. With the addition of a reset method, I can restart the timer when I get user activity - delaying the listener from being executed. This, however, brings up another question. What Event will be generated by the SVGTimer upon timeout? Thank you.
Received on Friday, 10 June 2005 12:54:17 UTC