Controlling the Stacking Order of Layers


As you add more layers to your document, you may need to rearrange them so that the graphic elements that should appear in the foreground cover graphic elements that appear in the background.

Layers make it easy to change the stacking order of numerous elements at the same time. You can, for example, bring all the elements on one layer to the top of the stack by dragging that layer to the top of the list in the Timeline. Doing so brings those elements to the front of the Stage (overlapping any items on other layers) in every frame of the movie.

To reorder layers

1.

In a document with several layers, in the Timeline, position the mouse pointer over the layer you want to move.

2.

Click and drag the layer.

Flash previews the layer's new location with a thick gray line.

3.

Position the preview line in the layer order you want (Figure 6.16).

Figure 6.16. The gray line (top) represents the new location for the Rectangle layer you're dragging. Release the mouse button to drop the layer into its new position. Flash selects the layer and its contents (bottom). The rectangle shape moves from the bottom of the heap, below the square and circle, to just under the star.


4.

Release the mouse button.

Flash moves the layer to the new location and selects it in the Timeline.




Macromedia Flash 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Flash 8 for Windows & Macintosh
ISBN: 0321349636
EAN: 2147483647
Year: 2005
Pages: 204

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