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

Chapter 14. Making Movies for the Web > Making Stretchable Shockwave Movies

Making Stretchable Shockwave Movies

In Director 8, you can control how your Shockwave movie behaves when a user resizes a browser window. You can set the Shockwave movie to resize along with the browser window, for example, or to not stretch so that it remains the same size.

To set Shockwave movie resizing options:

1.
Choose File > Publish Settings to display the Publish Settings dialog box.

2.
Select the General tab (Figure 14.16).

Figure 14.16. Select the General tab.


3.
Make a choice from the Dimensions pop-up menu (Figure 14.17):

Figure 14.17. Choose sizing options from the Dimensions pop-up menu.


  • Choose Match Movie to make your Shockwave movie match the exact dimensions of your Director movie. In this case, your Shockwave movie will not resize along with the browser window, regardless of the settings in the Shockwave tab. Your movie will be cropped if it doesn't fit within the resized browser window. Then click OK. You don't need to follow steps 4-8 if you choose this option.

  • Choose Pixels to set fixed rectangular dimensions for your Shockwave movie by using the Width and Height fields below the pop-up menu (Figure 14.18). Your movie will not change size if the browser window is resized. The aspect ratio of your movie within the new dimensions is determined in step 5.

    Figure 14.18. Set fixed rectangular dimensions for your movie by using the Width and Height fields when you choose Pixels from the Dimensions pop-up menu.

  • You must choose Percentage of Browser Window if you want your Shockwave movie to resize along with the browser window. If you choose this option, you also must choose Preserve Proportions, Stretch to Fill, or Expand Stage Size in step 5. Set percentages in the Width and Height fields below the pop-up menu (Figure 14.19) to determine the size of your Shockwave movie relative to the browser window. If you set both of these to 50 percent, for example, then your Shockwave movie will always be half the size of the browser window (assuming you select a compatible option in step 5). These default to 100 percent each.

    Figure 14.19. Set percentages for the relative size of your movie with respect to the browser window by using the Width and Height fields when you choose Percentage of Browser Window from the Dimensions pop-up menu.

4.
Select the Shockwave tab (Figure 14.20).

Figure 14.20. Select the Shockwave tab.


5.
Make a choice from the Stretch Style pop-up menu (Figure 14.21):

Figure 14.21. Make a selection from the Stretch Style pop-up menu, which determines how your Shockwave movie responds when a user resizes the browser window.


  • Choose No Stretching to make the movie play at the size, specified in the General tab's Dimensions pop-up menu. Resizing the browser crops your movie if it doesn't fit.

  • Choose Preserve Proportions to retain the same aspect ratio of your movie regardless of the size of the browser window (Figure 14.22). The movie is aligned with respect to the tags in step 6.

    Figure 14.22. How a Shockwave movie resizes using Preserve Proportions.

  • Choose Stretch to Fill to stretch the movie to fill the browser window. The aspect ratio of your movie may change, which can distort the appearance of sprites (Figure 14.23). The alignment tags set in step 6 are ignored for this option.

    Figure 14.23. How a Shockwave movie resizes using Stretch to Fill.

  • Choose Expand Stage Size to expand the stage size to equal the height and width dimensions in the HTML file. Only the stage changes size; sprites remain the same. The movie is aligned with respect to the tags in step 6.

6.
Use the Horizontal Align and Vertical Align pop-up menus to specify how your movie lines up in the browser window (Figure 14.24).

Figure 14.24. Align your movie in the browser window by making choices from the Horizontal Align and Vertical Align pop-up menus.


7.
If you have set options for your movie to resize along with the browser window, check the Zooming checkbox (Figure 14.25).

Figure 14.25. Choose the Zooming option if you have set your movie to resize along with the browser window (by using the Dimensions and Stretch Style pop-up menus).


8.
Click OK.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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