Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 47
Modifying the content and Stage
When you first started this lesson, you created a new file with the Stage set at 800
pixels by 600 pixels. However, your client may later tell you that they want the
animation in several different sizes to accommodate different layouts. For example,
they’d like to create a smaller version with a different aspect ratio for a banner ad.
Or, they may want to create a version that will run on AIR for Android devices,
which have specific dimensions.
Fortunately, you can modify the Stage even after all your content is put in place.
When you change the Stage dimensions, Flash provides the option of scaling
the content with the Stage, automatically shrinking or enlarging all your content
proportionally.
Stage Resizing and content Scaling
You’ll create another version of this animated project with different Stage dimensions.
1 At the bottom of the Properties inspector, note that the dimensions of the
current Stage are set at 800 x 600 pixels. Click the Edit button next to the Stage
size (the wrench icon).
The Document Settings dialog box appears.
2 In the Width and Height boxes, enter new pixel dimensions. Enter 400 for the
Width and 300 for the Height.
Notice that as you enter new values for the Width and the Height, the option to
Scale content with stage becomes enabled.
38
Lesson 1
Getting Acquainted