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

Q&A

Q1: I am familiar with Flash's symbol library. How does SVG's concept of a symbol differ from Flash's?
A1: Actually, SVG's handling of symbols is very similar to Flash's. Conceptually, the two handle symbols the same. In Flash, an item is stored in a library by converting it into a symbol and is then visually stored in a separate library palette. In SVG, a symbol is also removed from the artwork content by placing it within a defs or symbol element.

SVG offers an advantage in terms of its ability to apply considerable amounts of style information to the instance of a symbol. Although Flash allows certain adjustments to be made to a symbol (such as opacity and overall color), SVG can pass any style rule on to a symbol via the use element. ...

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