EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Creating Instances

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Creating instances 85
6. When you have finished creating the symbol content, do one of the following to return to
document-editing mode:
Click the Back button at the left of the Edit bar above the Stage.
Select Edit > Edit Document.
Click the scene name in the Edit bar above the Stage.
Duplicating symbols
Duplicating a symbol lets you use an existing symbol as a starting point for creating a
new symbol.
You can also use instances to create versions of the symbol with different appearances. See
“Creating instances” on page 85.
To duplicate a symbol using the Library panel:
1. Select a symbol in the Library panel.
2. Do one of the following to duplicate the symbol:
Right-click (Windows) or Control-click (Macintosh) and select Duplicate from the
context menu.
Select Duplicate from the Library options menu.
To duplicate a symbol by selecting an instance:
1. Select an instance of the symbol on the Stage.
2. Select Modify > Symbol > Duplicate Symbol.
The symbol is duplicated and the instance is replaced with an instance of the duplicate
symbol.
Creating instances
After you create a symbol, you can create instances of that symbol wherever you like
throughout your document, including inside other symbols. When you modify the symbol,
Flash updates all instances of the symbol.
Flash gives movie clip and button instances default instance names when you create them.
From the Property inspector, you can apply custom names to instances. You use the instance
name to refer to an instance in ActionScript. You must give each instance a unique name in
order to control it with ActionScript. For more information, see Chapter 10, “Handling
Events,” in Learning ActionScript 2.0 in Flash.

Table of Contents

Related product manuals