CELEBRATE EARTH WEEK
Save 40% on eBooks and Web Editions*—use code EARTH now through April 27. Shop now.
Publishers of technology books, eBooks, and videos for creative people
Suppose you want to use ActionScript to manipulate a symbol that is nested inside another symbol. For example, imagine you have an instance of a symbol named menuHolder on Stage, and inside menuHolder, there is an instance of a symbol named menuItem.
One of the great strengths of the SWF file format (the Flash output format) is its compact size. The SWF file format is one of the best ways to deliver a multimedia experience over a reasonably small bandwidth. Keeping your file size as small as possible ensures that your viewers will have a minimal wait time before seeing your work.
Did you know that bitmaps (jpgs, pngs, gifs, tiffs) can be used to fill shapes in Flash? When a bitmap is used for a fill, the shape containing the fill acts as a mask.
To faciliate easy editing of your Flash file, it's a good rule of thumb to place each asset on its own layer. This is especially true if you plan to animate or tween any of the assets (since only one item can be tweened per layer). However, there are many occasions when it is sensible to create your artwork on a single layer.