Symbols, Instances, and The Library
Symbols, Instances, and The Library
Libraries
The library is a container in each movie where Flash stores and organizes symbols, sounds, bitmap graphics, video,
and other elements. The library is attached to the document you’re working on. By default, the Libary panel is open in
the right-side of the workspace next to the Properties panel (Figure 1). If it’s not open, select Window > Library. If
you share your document with someone else, and they open it on their computer, they will see the same library
objects. You can also open libraries from other documents by selecting File > Import > Open External Library. As
your documents become more complex, you’ll find it helpful to use folders to sort your content into related groups
within the library.
Types of symbols
Flash has three types of symbols: graphic, button, and movie clip.
Each symbol has a unique timeline and Stage, complete with layers. When you create a symbol, you choose the
symbol type, depending on how you want to use the symbol in your document.
• Use graphic symbols for static images and to create reusable pieces of animation that are tied to the main
timeline. Graphic symbols operate in sync with the main timeline. Interactive controls and sounds won’t
work in an animation sequence contained in a graphic symbol.
• Use button symbols to create interactive buttons that respond to mouse clicks, rollovers, and other site visitor
actions. You define the graphics associated with various button states and then assign actions to a button
instance.
• Use movie clip symbols to create reusable pieces of animation. A movie clip has its own timeline that is
independent from the main timeline—think of it as a sub-timeline nested inside the main timeline. Movie
clips can contain interactive controls, sounds, and even other movie clip instances.
Creating symbols
You create symbols in one of two ways:
• Select Insert > New Symbol. This creates a new symbol to which you must add content.
• Select an existing shape (that you’ve drawn) or image (that you’ve imported) and select Modify > Convert
To Symbol.