Chapter 6. Composing Images with Bitmaps and Masks

Flash is primarily a vector editing program. Yet it can import other types of media, such as bitmap graphics, sound, and video, and it has limited tools for working with these media. To work well with import media such as bitmaps and sounds, you need to understand not only the intrinsic strengths and limitations of each form of media, but also the ways that Flash works with them.

In most cases, vector graphics are preferable to bitmap graphics for use in Flash. Vector graphics are smaller in file size as well as easier to edit and modify than bitmap graphics. In addition, bitmap graphics do not scale well, usually making them look unacceptable in Flash movies that resize to fit the size of the browser window. But sometimes bitmaps are unavoidable, especially when you need to use digital photography.

Although it is possible to convert bitmap graphics to vector graphics, using a process called tracing, and discussed in this chapter in Recipe 6.3, the converted graphic is often worse than the original in file size, editability, and visual quality.

Bitmap graphics may not be the Flash developer’s first choice, but they are a common feature of Flash movies. Because of Flash’s limited bitmap editing abilities, you should try to finalize them in a bitmap editing program, such as Macromedia Fireworks, Adobe Photoshop, or Jasc Paint Shop Pro. That is, you should set the resolution, image dimensions, tonal balance, and so on before you import ...

Get Flash 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.