Distributing Graphic Elements to Layers

I l @ ve RuBoard

Distributing Graphic Elements to Layers

As you draw elements for your movie, you may not always remember to create a new layer for each one. Using the Cut and Paste in Place commands can get tedious . Flash's Distribute to Layers feature automates the process, putting each element of a selection on a separate layer. This feature comes in handy when you start creating a type of animation called motion tweening , in which each element being animated must be on its own layer. (You'll learn more about motion tweening in Chapter 9.)

To place selected elements on individual layers:

  1. Open a new file, and on the Stage, create several separate shapes on a single layer.

  2. Choose Edit > Select All.

    Flash highlights all the shapes.

  3. From the Modify menu, choose Distribute to Layers, or press Shift- graphics/01icon01.gif -D (Mac) or Ctrl-Shift-D (Windows) (Figure 5.33).

    Figure 5.33. Selecting elements on the Stage and choosing Modify > Distribute to Layers automatically cuts each element and pastes it in place in a new layer. The new layers follow the order in which you placed the elements on the Stage originally. In this series of numbers , the numeral 1 was drawn first, so it winds up at the top of the section of new layers.

    graphics/05fig33.gif

    Flash creates a layer for each shape and adds the new layers to the bottom of the Timeline. Each shape winds up in the same location on the Stage, but on a separate layer.

graphics/01icon02.gif Tips

  • Distribute to Layers works with selected groups and symbols as wel as with selected raw shapes. (You learn about symbols in Chapter 6.) Flash distributes each selected group or symbol to its own layer; the separate elements of the group or symbol remain joined.

  • When you use Distribute to Layers, any unselected elements remain on their original layer. Only the selected shapes move to new layers.


I l @ ve RuBoard


Macromedia Flash MX for Windows and Macintosh. Visual QuickStart Guide
Macromedia Flash MX 2004 for Windows and Macintosh (Visual QuickStart Guides)
ISBN: 0582851165
EAN: 2147483647
Year: 2002
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net