Flash Course

You can Group multiple elements in Stage (lines, shapes, images) to add them into a single object, called "Group".
Grouping multiple elements prevents them to interact with other objects in Stage and makes them to be used together.
Grouping essentially stores the elements in a bounding box that can only be edited by entering a group editing mode, by double-clicking the Group.

Creating Groups

  1. Select the objects, lines, shapes, etc., on the Stage that you want to group (with any of Flash's selection tools or methods).
  2. Click Modify -> Group (or Ctrl+G)
- Now, these eements are added into one group, and you can manipulate them simultaneously. If you try to click and move one of them, the whole group will be selected and moved as a single object.
With the "Free Transform Tool" the Group can be rotated and resized.
You can create and use multiple copies of a group, with Copy (Ctrl+C) and Paste (Ctrl+V). For example, if you create a house with multiple windows, draw and arrange the objects that create a window, then you can group them and copy the group how many times you want.

Grouped elements are protected from merging with other objects, changing color or other property while you are working on other drawings in the stage.

- If you want to modify /edit one of the objects in the group, double-click on it (or right-click, and choose Edit Selected). In the top-left corner of the Stage will be displayed the name "Group", next to Scene name, which indicates that you are in a Group editing mode. In this way you enter in that group, and you can edit each of its elements. Any drawing and modifications made in that group editing mode will belong to the group and will not affect other objects in the stage, outside it.
Once you have finished the modifications within the group, to exit of that editing mode, click on the Scene name (in the top-left corner), or double-click on an empty area.

Ungroup

You can ungroup objects that have been grouped by using the "ungroup" option (click Modify menu -> Ungroup), or by breaking them apart (right-click and choose Break Apart).
- Click on the Group you want to ungroup, then click Modify menu -> Ungroup. Doing so removes the bounding box and the objects can be freely edited.
In the presentation below you can see an example with Group.
ex_group

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
Grouping elements in Stage

Last accessed pages

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (59589)
  2. querySelector and querySelectorAll (30124)
  3. sPBM - Simple PHP Backup Manager (3402)
  4. Vue JS - Transition and Animation (490)
  5. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (141749)

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)