At 06:46 PM 12/11/2005, Cormac wrote:
>[...]
>Furthermore i would like to know if its possible using SVG/SMIL to have
>a timeline that you can drag which correlates to time in the animation,
>so that people can scrub through the animation.

The first part of your message (not included above) sounds like 
things my students talk about (avatars and the like) that I don't 
know anything about, but I might guess the following about dragging 
through an animation:

I doubt that SMIL will do this for you. Most likely you'll need some 
JavaScript that measures the mouse's x (or y) position across the 
slider and converts that into a number which advances the animation 
that proportion of the way through its life-cycle. This will be 
easier if the animation progresses according to nice simple functions 
(e.g. if you don't have to render scene N in order to calculate scene 
N+1). If the slider can move backwards, then you'll want these 
functions to have inverses (this sort of rules out nondeterminism, 
for example). I can point to some examples of draggable sliders in 
SVG that use JavaScript if that would help.


cheers,
David Dailey  



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to