Swapping and Updating Library Items


Another helpful feature of the Library is the Ability to swap elements or update bitmap files. As an example, say the graphic artist on your project isn't done with a particular piece of artwork that you need. Instead of waiting for a final image, you can start your work from a comp/ dummy version of the image. If you can get either the dimensions or the current version of the image, you can work with that until the final image is ready.

Swapping out one image for another is a fairly straightforward process:

  1. Select the graphic you want to swap out in the Library and click the Properties icon at the bottom of the Library window. The icon is a blue dot with an "i" in it.

  2. In the Bitmap Properties dialog box, click the Import button (see Figure 6.3) and browse to the file that you want to use.

    Figure 6.3. You can use a dummy image as a placeholder and swap it for a final image by using the Import option in the Bitmap Properties dialog box.

    graphics/06fig03.gif

  3. Select Open , and then click OK in the Bitmap Properties dialog box. That's all there is to it.

Here's a slightly different scenario. What if you made some changes in one of your imported bitmap files and now you want those changes to be reflected in your movie? You don't need to reimport the artwork. You just need to use the Update feature in the Library:

  1. Right-click (Windows) or Control-click (Macintosh) the image in the Library and choose Properties. Alternately, you can select the image and click the Properties icon.

  2. After the Bitmap Properties dialog box opens, click Update. The Preview window in the dialog box shows the newly updated image.

If you're really organized and you keep all your bitmap files in one folder, you can quickly tell which images' original files have been updated. To do so, shift-click to select all the images. Then, right- or Control-click and select Update. In the image list, any image that has a more recent version will have a check mark next to it, as illustrated in Figure 6.4.

Figure 6.4. You can select a series of bitmap images and check to see if any of them have been updated by right-clicking or Control-clicking, and then selecting Update.

graphics/06fig04.gif

If you don't want to update all the checked images, deselect the ones you don't want to update. To update all selected images at once, click Update. A message appears at the bottom of the Update Media window, telling you how many elements were updated. Close the dialog box and you're ready to get back to work. Notice that the elements in the Library and all instances on the Stage have been updated.

Now that you know some of the tricks for working with the internal Library, it's time to take a look at using Shared Libraries.



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