W3C home > Mailing lists > Public > www-svg@w3.org > May 2001

Re: animation on demand...

From: Robert Diblasi <rdiblas@wpo.it.luc.edu>
Date: Mon, 14 May 2001 15:22:52 -0500
Message-Id: <safff9cf.085@wpo.it.luc.edu>
To: <mjumbe@electricstoat.com>, <mjumbewu@hotmail.com>, <www-svg@w3.org>
Hello,

<mjumbe_wrote>
quick question: how can i instruct an animation to begin when i want it to 
with scripting from within the DOM (as opposed to assigning it an absolute 
beginning time in the SVG)?
</mjumbe_wrote>

as for as the SVG spec 1.0 is concerned the specification states:

19.2.2 Relationship to SMIL Animation

SMIL Animation requires that the host language define the meaning for document begin and the document end. Since an 'svg' is sometimes the root of the XML document tree and other times can be a component of a parent XML grammar, the document begin for a given SVG document fragment is defined to be the exact time at which the 'svg' element's onload event is triggered. The document end of an SVG document fragment is the point at which the document fragment has been released and is no longer being processed by the user agent

Now to show you where to look in the SVG spec for relative start / stop.....

19.2.6 Attributes to control the timing of the animation

this is the enterence to your problem....and solution

have fun 
Robert A. DiBlasi
Received on Monday, 14 May 2001 16:29:38 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:20 GMT