Flash Templates Tutorials - Symbols - Creating Symbols
There are two ways to create the symbol. First way is to draw some graphic element on the scene and turn it into the symbol. The second way is to create an empty symbol, place it into the library and then fill it with graphic content.
It is up to you to choose in what way to create the symbols. If you start from scratch then it is better to do it the second way. If you want to turn previously created graphic fragment into a symbol then it is better to do this the first way.
Let us suppose that you have something drawn on your scene. Let us turn this image into a symbol.
Select the graphic element and go to Insert > Convert to Symbol (or press F8 hotkey). Convert to Symbol dialog box will appear.
Every symbol must have unique name so that it could be identified. You need to enter such unique name into the name field. The symbol name can start with the letter only and may have the letters, numbers and underscores in it.
Using Behavior radio button you can set the symbol type: Graphic, Button, Movie Clip.
To the right from the Behavior option you can see the Registration option. With its help you can set the location of the commit point. It is the reference point for the image location and central point for the rotation of the instance. As you can see there are nine location options for the registration, by default the commit point is placed in the center. Click one of the white points to set new location for the commit point or leave it as is.
Press Ok or Cancel once you have finished or changed your mind respectfully. After the symbol that we created will appear in the library, the graphic element we used to create the symbol will become its instance.
Now to see the symbol we have created you need to open the Library window by going to Window > Library or pressing F11 hotkey.
The library window is divided in two parts. In the bottom part you can see the list of existing symbols, you can select desired symbol by clicking respective symbol name. To the left from each symbol name there is a small icon that displays the symbol type. The top part of the library is the preview pane where selected symbol is displayed. You can change the size of these two parts of the window, dragging the grey line that separates them up and down. You can also change the size of the size of the Library window. If the library window is opened, you can drag the graphic elements to it, and turn them into symbols. After you will drag-and-drop the image into the library the Convert to Symbol window will appear and you can set the parameters of new symbol there.
We will go over the Library window in detail in one of our next tutorials, as for now, let us create a new symbol from scratch with the help of the library window. To do so you can click the New Symbol button in the menu of the Library window.
Once the clear scene will appear, you can start drawing the needed symbol. The black X-mark in the center of the scene is the commit point. You cannot move the commit point, but you can move the image to change the position of the commit point relative to the image.
When you have finished drawing the image, choose Edit Document in the Edit menu or press Ctrl+E hotkey or press the button located in the top left part of the window above the scene. Flash will return to regular mode - editing the whole movie and the new symbol will appear in the library.
You can import bitmap image or sound as a symbol. You can go to File > Import to bring the imported image or sound (actually, its instance) to the scene and add it to the library. If you want to import bitmap image or sound to the library without placing it on the scene go to File > Import to Library.