4Contents
Chapter 2: Working with Projects (Flash Professional Only) . . .69
Creating and managing projects (Flash Professional only) . . . . . . . . . 70
Using version control with projects (Flash Professional only) . . . . . . . 73
Troubleshooting remote folder setup (Flash Professional only) . . . . . 75
Chapter 3: Using Symbols, Instances, and Library Assets . . . . . 77
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
Chapter 4: Working with Color, Strokes, and Fills . . . . . . . . . . . . 111
About the Color Mixer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
About creating gradients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
Using the Stroke Color and Fill Color controls in the Tools panel. . . .114
Using the Stroke Color and Fill Color controls in the
Property inspector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Working with solid colors and gradient fills in the Color Mixer . . . . . . 117
Modifying strokes with the Ink Bottle tool . . . . . . . . . . . . . . . . . . . . . . . 120
Applying solid, gradient, and bitmap fills with the
Paint Bucket tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Transforming gradient and bitmap fills . . . . . . . . . . . . . . . . . . . . . . . . . . .121
Copying strokes and fills with the Eyedropper tool . . . . . . . . . . . . . . . 124
Locking a gradient or bitmap to fill the Stage . . . . . . . . . . . . . . . . . . . . 124
Modifying color palettes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125