• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. Your First Animation > 3.1. Customizing Movie Properties

Customizing Movie Properties

The Stage’s size determines the dimensions of your published Flash movie, but the default Stage size (550 x 400 pixels) is rarely the size you need, so let’s set up a new file for the animation we’ll create. We’ll set the Stage dimensions to 500 x 100 pixels and set the background to black. Always set the Stage properties before starting the animation to avoid having to redo a lot of work.

Increasing the Stage’s height adds pixels to the bottom edge of the Stage, and increasing its width adds pixels to the right edge. If you change the Stage dimensions after you create a movie, keep in mind that the content doesn’t move relative to the Stage’s top-left corner, (0, 0).

A .swf file is published for the Web by embedding it in an HTML page, just as you’d embed a GIF or JPEG image. You can resize a .swf file in an HTML page using the width and height attributes of the <embed> or <object> tags, but this can have unexpected results, such as an elongated or distorted appearance. Also, if your movie contains bitmap images, they can appear grainy as a result of being stretched. Bitmaps should always be brought into Flash at the largest dimensions needed for the movie. Bitmaps that are scaled down maintain a high-quality look, but enlarging a bitmap in Flash makes it look pixelated.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint