View Full Version : Scripting/timeline commands

17 Jan 2011, 6:56 AM
It should be possible to add (simple) timeline commands like "stop", "play", "resumeAfter", or add functionality to call javascript functions.

20 Jan 2011, 9:31 AM
One of the drawbacks of CSS animation is that it's impossible to stop mid-animation, once it's fired, it keeps going until it finishes the keyframe. Playback controls are an obvious enhancement that would be great to have.

21 Jan 2011, 1:59 AM
When you would add something like a stop or pause command you could so to say split the animation so the tweens stop on a certain position. Currently one has to create two animations to have one position where to stop. This could be done automatically by the animator. So when adding such a command to the timeline the animator automatically renders a second animation in the html/css. This would be a great option.
http://www.qtl.co.il/img/copy.pnghttp://www.google.com/favicon.ico (http://www.google.com/search?q=When%20you%20would%20add%20something%20like%20a%20stop%20or%20pause%20command%20you%20could%20so%20to%20say%20split%20the%20animation%20so%20the%20tweens%20stop%20on%20a%20certain%20position.%20Currently%20one%20has%20to%20create%20two%20animations%20to%20have%20one%20position%20where%20to%20stop.%20This%20could%20be%20done%20automatically%20by%20the%20animator.%20So%20when%20adding%20such%20a%20command%20to%20the%20timeline%20the%20animator%20automatically%20renders%20a%20second%20animation%20in%20the%20html/css.%20This%20would%20be%20a%20great%20option.)http://www.qtl.co.il/img/trans.png

24 Jun 2011, 2:25 PM
This would be great, but don't hold your breath for it. We have a lot to do before we can focus on this, but we will keep the suggestion in mind (and maybe the browser gods will take care of the problem in the meantime...).

14 Aug 2012, 2:35 AM
It there any progress in this issue? Look here it looks like what we are searching for!

:) (http://www.w3schools.com/cssref/playit.asp?filename=playcss_animation-play-state&preval=paused)

20 Aug 2012, 7:42 AM
From what I have seen in the browsers the playState does still have some glitches with it. We are still looking into this area.