78
Using Symbols, Instances, and Library Assets
You can share symbols among documents as shared library assets during authoring or at
runtime. For runtime shared assets, you can link assets in a source document to any number
of destination document, without importing the assets into the destination document. For
assets shared during authoring, you can update or replace a symbol with any other symbol
available on your local network. See
“Using shared library assets” on page 104
.
If you import library assets that have the same name as assets already in the library, you can
resolve naming conflicts without accidentally overwriting existing assets. See
“Resolving
conflicts between library assets” on page 108
.
For an introduction to using symbols and instances, see “Basic Tasks: Create Symbols and
Instances” in Flash Tutorials.
This chapter contains the following sections:
Types of symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
About 9-slice scaling and movie clip symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Editing movie clip symbols with 9-slice scaling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Runtime bitmap caching movie clip and button symbols . . . . . . . . . . . . . . . . . . . . . . 81
About controlling instances and symbols with ActionScript. . . . . . . . . . . . . . . . . . . . 82
Creating symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Creating instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Creating buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Enabling, editing, and testing buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Editing symbols. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Changing instance properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Controlling instances with behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Creating custom behaviors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Best practices for using behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Breaking apart instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
Getting information about instances on the Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Copying library assets between documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Using shared library assets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Resolving conflicts between library assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...