36
Working with Flash Documents
Working with common libraries
You can use the sample common libraries included with Flash to add buttons or sounds to
your documents. You can also create custom common libraries, which you can then use with
any documents that you create.
To use an item from a common library in a document:
1.
Select Window > Common Libraries, and select a library from the submenu.
2.
Drag an item from the common library into the library for the current document.
To create a common library for your Flash application:
1.
Create a Flash file with a library containing the symbols that you want to include in the
permanent library.
2.
Place the Flash file in the Libraries folder located in the Flash application folder on your
hard disk.
About ActionScript
ActionScript is the Flash scripting language that lets you add complex interactivity, playback
control, and data display to a Flash document. You can add ActionScript within the Flash
authoring environment using the Actions panel or create external ActionScript files using an
external editor.
You don’t need to understand every ActionScript element to begin scripting; if you have a
clear goal, you can start building scripts with simple actions. You can incorporate new
elements of the language as you learn them to accomplish more complicated tasks.
As with other scripting languages, ActionScript follows its own rules of syntax, reserves
keywords, provides operators, and lets you use variables to store and retrieve information.
ActionScript includes built-in objects and functions and lets you create custom
objects and functions. For more information on ActionScript, see
Learning ActionScript 2.0 in
Flash
.
ActionScript is based on the ECMAscript specification (ECMA-262), the international
standard for the ECMAscript programming language. ActionScript offers a subset of
ECMAscript’s functionality. For more information about ECMAscript, see the ECMA
International website at www.ecma-international.org.
NO
TE
The Libraries folder is located in the application-level configuration folder, one of
several configuration folders placed on your hard drive when you install Flash. For
the location of configuration folders, see
“Configuration folders installed with Flash”
on page 22
in
Getting Started with Flash
.
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 ...