Graphic symbols can be used for static images and for animations that are in sync with the main Timeline.
Unlike "Movie Clip" symbols, an animation contained in a "Graphic Symbol" can be seen in the main line of the Timeline, but sounds and ActionScript will not work in it.

Create a Graphic symbol

  1. Select on Stage the object you want to convert into a Graphic symbol (can be any element: line, shape, image, Group)
  2. Click Modify -> Convert to Symbol (or press F8)
  3. Flash will open a "Convert to Symbol" window. Type in a name for the symbol. Click the Type list arrow, then choose Graphic, and click OK.
- Flash will add that Symbol in the Library panel, and the selected object in the Stage become an Instance of that Symbol.

• Another way to create a Symbol is with the New Symbol option:
  1. Click the Insert -> New Symbol. Flash will open a Create New Symbol window, with the same Symbol Properties that you see when you use "Convert to Symbol".
    Create New Symbol
  2. Type in a name for the symbol. Click the Type list arrow, then choose Graphic, and click OK.
  3. Flash enters a symbol editing mode that contains a blank scene, with a '+' sign in the center. On the "Edit bar" will be displayed the name of the Symbol, next to Scene name.
    Symbol edit mode
    Anything you create in that blank page will represent the symbol.
  4. After you create the objects /drawings in that page, click on the Scene name, in the Edit bar (or double-click on an empty area) to return to the main scene.
  5. The Graphic symbol you have created is stored in the Library panel, from this panel you can drag on the Stage instances of that symbol.

- The instance of a symbol can be converted into a simple editable shape, without any relation with the master symbol or the other instances, by selecting it, then click the Modify -> Break Apart.
- Another major change that you can make to an instance, without affecting the other instances, is to swap the parent symbol for another symbol:
  1. Select the instance on the Stage, then open the "Properties panel".
  2. Click Swap in the "Properties panel" to open the Swap Symbol dialog box.
    Swap Symbol
  3. Click a symbol from the list, and press OK.
The instance retains any effects and/or animation that have been applied to it. All of the effects are preserved but are instead applied to and referencing the new chosen symbol.

The instance of a Graphic symbol has three specific options: Loop, Play Once, and Single Frame.
Options Graphic Symbol

If you want to transfer /copy a symbol from a Flash document to another:
  - open the both Flash documents,
  - open the Library panel with the Symbol you want to copy,
  - right-click on the name of the Symbol, then choose Copy.
  - go to the other Flash documet and click Edit -> Paste in Center (or Ctrl+V).
That Symbol will be automatically added in the Library panel of that document too.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which HTML5 tag can be used to embed an external application (SWF, PDF) in web page?
<mark> <embed> <canvas>
<embed src="flash_game.swf" width="450" height="350" />
Which CSS pseudo-element adds a special style to the first line of a text?
:first-letter :before :first-line
#id:first-line {
  font-weight: bold;
  color: blue;
}
Click on the window object property which gets or sets the URL of current page.
window.location window.self window.status
var url = window.location;
alert(url);
Indicate the PHP function used to get the contents of a file or page and store it into a string.
fopen() file_put_contents() file_get_contents()
$homepage = file_get_contents("http://coursesweb.net/");
echo $homepage;
Graphic Symbols

Last accessed pages

  1. OOP - Classes and objects - Create Class (1595)
  2. JpGraph - Create Graph, Charts, Plots in PHP (1544)
  3. Contact page - CoursesWeb (29874)
  4. Tabs effect with CSS (30532)
  5. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (37232)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1317)
  2. Contact page - CoursesWeb (1288)
  3. Tabs effect with CSS (1281)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (527)
  5. PHP getElementById and getElementsByTagName (397)