Flash Course

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 tag is used to add lists into <ul> and <ol> elements?
<dt> <dd> <li>
<ul>
 <li>http://coursesweb.net/html/</li>
 <li>http://coursesweb.net/css/</li>
</ul>
Which value of the "display" property creates a block box for the content and ads a bullet marker?
block list-item inline-block
.some_class {
  display: list-item;
}
Which instruction converts a JavaScript object into a JSON string.
JSON.parse() JSON.stringify eval()
var obj = {
 "courses": ["php", "javascript", "ajax"]
};
var jsonstr = JSON.stringify(obj);
alert(jsonstr);    // {"courses":["php","javascript","ajax"]}
Indicate the PHP class used to work with HTML and XML content in PHP.
stdClass PDO DOMDocument
$strhtml = '<body><div id="dv1">CoursesWeb.net</div></body>';
$dochtml = new DOMDocument();
$dochtml->loadHTML($strhtml);
$elm = $dochtml->getElementById("dv1");
echo $elm->nodeValue;    // CoursesWeb.net
Graphic Symbols

Last accessed pages

  1. sPBM - Simple PHP Backup Manager (3402)
  2. Vue JS - Transition and Animation (490)
  3. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (141749)
  4. Node.js Move and Copy file (28420)
  5. MouseEvent - Events for Mouse (2909)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (473)
  2. CSS cursor property - Custom Cursors (79)
  3. The Mastery of Love (70)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (62)
  5. CSS3 2D transforms (46)