O'Reilly logo

Sams Teach Yourself SVG in 24 Hours by Micah Laaker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Frame-Based Animation

As mentioned earlier, SVG is quite different from Flash in terms of how it handles time and animation. Whereas Flash uses frames to establish its animation, SVG makes no assumptions as to how animation and time will unfold (other than the most basic assumption of a linear progression of time); the developer is left to make such determinations.

When the time-precise animation controls do not handle your requirements, you can still count on the tried-and-true nature of frame-based animation. Keep in mind, however, that the term frame is used loosely in SVG; no such “frame” exists. Frames will appear to be used by displaying groups at set intervals; whenever one group is displayed, the others are not.

To accomplish this, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required