A very powerful technique, often overlooked, is to turn a photo or 3D rendering bitmap into an alpha channel for advanced compositing.
You want to turn a picture into an alpha channel with Macromedia Fireworks to create a PNG bitmap file.
Select the picture.
Figure 15. The selected picture in Fireworks MX 2004
Select Filters > Other > Convert to Alpha.
Figure 16. The Convert to Alpha filter
All the color information is lost and turned into transparency data. You can now see the picture is gray, and you can see a gray and white checkerboard through it, indicating the presence of an alpha channel and the image transparence.
Figure 17. The converted bitmap now showing gray
Move the image so it overlaps the colored rectangle. You can see the picture is colored by the rectangle.
Figure 18. The transparent photo overlapping a color filled vector rectangle
You could convert the rectangle to a movie clip and alter its color either in the timeline or dynamically using the new Color() and setRGB() ActionScript instructions: