Macromedia Flash 8 Bible Free Open Book

Macromedia Flash 8 Bible

Previous Page
Next Page

Using Distribute to Layers

The Distribute to Layers command (Shift+Ctrl+D or Shift+z+D) is a great timesaver if you're managing multiple elements that you need to move to animate on individual layers. If you've imported several items to the Document window, or you've created a complex graphic that you decide needs to be split up on different layers, you can use this command to do most of the work for you. Instead of having to manually create new layers and copy and paste items one by one, you can select a number of individual items in the Document window and apply Distribute to Layers to have Flash automatically create a layer for each selected item.

To apply Distribute to Layers, select the items that you want to have moved to discrete layers — these items can be symbols, groups, shapes, text blocks, and even bitmaps or video objects. Choose Modify ð Timeline ð Distribute to Layers from the application menu, or choose Distribute from the contextual menu. Strokes and fills for an individual shape will be kept together on the same layer, as will items in a group or a multipart symbol. The items you select can be on different source layers, but they must all be on the same frame of the Timeline. When items have been distributed to new layers, you can delete any old layers that have been left empty.

The auto-created layers will be stacked from top to bottom below the currently selected layer in the order that the selected items were created. So the most recently created item should be placed on a layer at the bottom of the stack, just above the layer that was formerly below the selected layer, while the item that was created before the others in the selection will be placed at the top of the stack, just below the currently selected layer. If you are completely disoriented by now, have a look at Figure 13-24 to see a file with the layer order before applying Distribute to Layers to the selected items, and look at Figure 13-25 to see how the new layers are stacked and named.

Image from book
Figure 13-24: A Flash document with the original layer structure for some bitmaps, symbols, shapes, and a broken-apart text block to be distributed to layers
Image from book
Figure 13-25: The same Flash document after Distribute to Layers has been applied. All selected items have been moved to newly created, auto-named layers, leaving the original layers empty.

Characters from a broken-apart text block will be stacked in layers in the same order that the text block was created (from left to right, right to left, or top to bottom). Flash names autocreated layers with the following conventions:

  • A new layer made for any asset stored in the Library (a symbol, bitmap, or video clip) will be given the same name as the asset.

  • A new layer made for a character from a broken-apart text block will be named with the text character or letter.

    Caution 

    When you apply Distribute to Layers to text blocks that have not been broken apart, new layers will be named with the entire text string. It is best to rename these layers because they will usually be difficult to read and may even exceed the 64-character limit for layer names.

  • A new layer made for a shape (which is not stored in the Library) will be named in the same numeric sequence as other layers in the current document (Layer 1, Layer 2, and so on).

  • A new layer made for a named symbol instance will be given the instance name instead of the stored symbol name.

Any layer can always be renamed after it has been created.

Web Resource 

We'd like to know what you think about this chapter. Visit www.flashsupport.com/feedback to fill out an online form with your comments.


Previous Page
Next Page
Index: [A][B][C][D][E][F][G][H][I][J][K][L][M][N][O][P][Q][R][S][T][U][V][W][X][Y][Z]


     Main Menu
Table of Contents
Back Cover
Macromedia Flash 8 Bible
Foreword
Preface
Part I: An Introduction to Flash Web Production
Part II: Mastering the Flash Environment
Part III: Creating Animation and Effects
Chapter 10: Animation Strategies
Chapter 11: Timeline Animation
Chapter 12: Applying Filters and Effects
Chapter 13: Applying Layer Types
Guide Layers
Motion Guides
Mask Layers
Motion Guides and Movie Clip Masks
Using Distribute to Layers
Summary
Chapter 14: Character Animation Techniques
Part IV: Integrating Media Files with Flash
Part V: Adding Basic Interactivity to Flash Movies
Part VI: Distributing Flash Movies
Part VII: Approaching ActionScript
Part VIII: Applying ActionScript
Part IX: Integrating Components and Data-Binding
Part X: Expanding Flash
Part XI: Appendixes
Index
List of Figures
List of Tables
List of Listings
List of Sidebars


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual
Free Games Paper Airplanes
500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele