Using the Library Sorting Options


While most people understand that the Library is where you store symbols, it is surprising how few know how to take advantage of the Library to improve their daily Flash lives.

One handy aspect of the Library is its capability to sort assets. The sorting feature is particularly helpful when your Flash movie becomes complicated. To sort a file, all you do is click the Sort button; it's the arrow in the upper-right corner of the Library panel, just below the Preview window. (See Figure 6.1.)

Figure 6.1. The Sort, Wide Mode, and Narrow Mode buttons on the Library panel are used to view and quickly sort all the assets in the Library in ascending or descending order.

graphics/06fig01.gif

Open a file and click the Sort button a couple times to see how the Library changes. Each time you click, the assets are sorted by name in either ascending or descending order.

Just below the Sort button are the Wide and Narrow Mode buttons. You use the Wide Mode button to expand the Library so that you can see the Kind, Use Count, Linkage, and Date Modified columns , as described here:

  • Kind. Lists the types of assets in the Library and tells you if the asset is a bitmap, a sound, a graphic, a movie clip, a smart clip, or a button.

  • Use Count. The number of times a symbol is being used in the current movie.

  • Linkage. Used with Shared Libraries and the attachMovie action.

  • Date Modified. The last date the file was modified.

Clicking the column headings sorts the Library based on the column values. After you have a column selected, you can use the Sort button to re-sort the Library, based on the column values, in ascending or descending order. To collapse the Library back to just the Name column, use the Narrow Mode button.



Inside Flash
Inside Flash MX (2nd Edition) (Inside (New Riders))
ISBN: 0735712549
EAN: 2147483647
Year: 2005
Pages: 257
Authors: Jody Keating

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