O'Reilly logo

Flash 8: The Missing Manual by E. A. Vander Veer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Importing a Custom Color Palette

Depending on the type of animation you're creating in Flash, you might find it easier to import a custom color palette than to try to recreate each color you need.

For example, say you're working on a promotional piece for your company, and you want the colors you use in each and every frame of your animation to match the colors your company uses in all its other marketing materials (its brochures, ads, and so on). Rather than eyeball all the other materials or spend time contacting printers and graphics teams to try and track down the RGB values for each color, all you need to do is import a GIF file into Flash that contains all the colors you need: a GIF file showing your company's logo, for example, or some other image containing the colors you need to match.

To import a custom color palette:

  1. In the Color Swatches tab of the Color panel, click the Options menu.

    A pop-up menu appears.

  2. From the pop-up menu, select Clear Colors.

    Flash clears out the entire color palette on the Color Swatches tab, leaving just two swatches: black and white (Figure 5-40, right).

    Top: Just as regular transforms let you poke and prod regular images to create interesting effects, gradient transforms let you manipulate gradients (with respect to the shapes you originally applied them to) to create interesting effects. Here, dragging the stretch arrow pulls the bands of color, widening the bands at the center and discarding the bands at the edges. You see the result of the stretched gradients in the Color Mixer panel.Bottom: When you drag the reposition point, you move the center of the gradient away from the center of the object. This effect is especially useful when you're working with radial gradients because it lets you create the illusion that the object is reflecting light streaming in from a different angle.

    Figure 5-39. Top: Just as regular transforms let you poke and prod regular images to create interesting effects, gradient transforms let you manipulate gradients (with respect to the shapes you originally applied them to) to create interesting effects. Here, dragging the stretch arrow pulls the bands ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required