W3C home > Mailing lists > Public > www-svg@w3.org > June 2005

RE: Questions on SVGTimer

From: MAHE Vincent RD-TECH-REN <v.mahe@francetelecom.com>
Date: Fri, 10 Jun 2005 09:57:08 +0200
Message-ID: <B30D6148F304A743A53B9B44751CDB9A02FA97AC@FTRDMEL2.rd.francetelecom.fr>
To: "James Bentley" <James.Bentley@guideworkstv.com>, <www-svg@w3.org>
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.


	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 07:58:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:29:27 UTC