Using Director > Packaging Movies for Distribution > Setting movie options for browser resizing |  |

Setting movie options for browser resizing

If users view your movie in browsers, chances are they will resize their browsers. How your movie behaves when the browser size changes depends on what you select in the Publish Settings dialog box.

To set movie options for browser resizing:

1 | Choose File > Publish Settings.
2 | On the General tab of the Publish Settings dialog box, select from the Dimensions pop-up menu. Note that when you make a selection, the width and height values default to the movie size.
| To create an HTML file with parameters that match the height and width of the movie, select Match Movie.
| To specify height and width values in the HTML file in pixels, select Pixels.
| You can select Percentage of Browser Window, and specify a percentage in the Width and Height fields. (To make browser resizing affect the size of the DCR movie, you must specify percentages and select either Preserve Proportions, Stretch to Fill, or Expand Stage Size on the Shockwave tab of the Publish Settings dialog box.)
3 | On the Shockwave tab, select an option from the Stretch Style pop-up menu.
| To specify that your movie not resize at all, select No Stretching.
| To maintain the same aspect ratio of your original Director movie no matter what size the user makes the browser, select Preserve Proportions. The movie will fit within the width and height parameters, as much as possible, while preserving the movie's aspect ratio. The movie aligns within the window based on the align tags that you specify in step 4.

| To change the size of the movie to fit the size of the browser, select Stretch to Fill. Any browser resizing stretches the movie to fill the width and height parameters. Note, however, that if the aspect ratio of the movie changes, sprites on the Stage could appear distorted. If you select Stretch to Fill, Director ignores the align tags that you specify in step 4.

| To let users resize the Stage without resizing the sprites, select Expand Stage Size. The movie is aligned within the browser based on the align tags that you specify in step 4.
4 | To specify align tags for your movie, use the Horizontal Align and Vertical Align pop-up menus. You can select left, center, or right horizontal alignment, and top, center, or bottom vertical alignment.