![](https://secure.gravatar.com/avatar/03e0d5cf6f173f88af40808ef41b599c.jpg?s=120&d=mm&r=g)
On Wednesday, May 7, 2008, 6:48:59 AM, Jonathan-David wrote:
JDS> I don't know svg much, but one way further to animate object JDS> properties, instead of using the builtin tweening svg JDS> capabilities, is to have script drivers (like python drivers for JDS> Blender IPOS (keyframes)) : expressions that are shorter than a JDS> piece of code, and return some value to use. For example, assign JDS> to the alpha of some object the java script expression : JDS> sin(2*3.14*10*_current_frame_number) where _current_frame_number JDS> is the official frame number is a variable representing the JDS> actual frame being played in the running svg animation/application.
SVG isn't frame based (perhaps you are more familiar with SWF?) but a relative time-based expression would be one way to do this.