Using Director > Packaging Movies for Distribution > Creating Shockwave movies > Changing Publish settings |  |

Changing Publish settings

You can change Publish settings by using the Publish Settings dialog box.

To change Publish settings:

Choose File > Publish Settings.

The Publish Settings dialog box appears with some or all of the following tabs, depending on the HTML template you select. The Image tab, for example, appears only if you select the Shockwave with Image HTML template.

| Formats
| General
| Shockwave
| Compression
| Shockwave Save
| Image

To use the Formats tab:

| To select an HTML template, or to create a Shockwave file without an HTML template, you use the HTML Template pop-up menu.
| To create a Shockwave file without an HTML file, select no HTML Template.
| To use `OBJECT` and `EMBED` parameters in the HTML file to display the Shockwave file, use the Shockwave Default template.
| When you select the Detect Shockwave template, JavaScript and VB Script determine if the correct version of the Shockwave plug-in or ActiveX is on your user's computer. If not, a message tells your user to update Shockwave.
| To expand the Shockwave file to fill the entire browser window, select Fill Browser Window.
| To display a Java applet created using the Save as Java functionality, select Java.
| To play a loader movie while the Shockwave file downloads, select Loader Movie.
| To display a game with a progress bar while the Shockwave file loads, select Loader Game.
| To display a progress bar and image while the Shockwave file downloads, select Progress Bar with Image.
| If you select the Shockwave with Image template, the template automatically detects the Shockwave player or Active X control on your user's browser and uses it to display your movie. If Shockwave is not found and the user's browser is Internet Explorer on Windows 95 or NT, the browser automatically installs the Active X control. In all other cases, the image that you specify on the Publish Settings Image tab is displayed. The Image tab is available only when you select the Shockwave with Image template.
| To display a progress bar while the Shockwave file downloads, select Simple Progress Bar.
| To center the Shockwave movie in the browser, select Center Shockwave.
| The HTML File and Shockwave File fields indicate where Director will save your HTML and DCR files, respectively. To specify another path, edit the path in the field, or click the field's Browse button and choose a new path.
| If you select the Java template, the Formats tab includes a Java Class File field. This field points to the Director movie that you saved as Java.
| To launch your movie in a browser automatically when you execute the Publish command, select Output: View in Browser.

To use the General tab:

| To make the DCR movie match the dimensions of your DIR movie, select Match Movie in the Dimensions field.
| If you use the default Match Movie setting in the Dimensions field, values in the `OBJECT` and `EMBED` tags in the HTML file are set to the exact dimension of your movie. To change the dimensions, select either Pixels or Percent of Browser Window, and type the new dimensions in the Width and Height fields. Your movie will resize to fit the new rectangle only if you have not selected No Stretching in the Stretch Style pop-up menu on the Shockwave tab.
| To change the background color of your HTML file, either click the Page Background color box and select a color, or enter a value in the hexadecimal field.
| The Page Background setting is different from Background Color, which you specify on the Shockwave tab. Background Color lets you determine the color that appears, while the DCR is downloading, in the rectangle where your DCR movie will play. Another background color option, Stage Fill Color, which you set on the Movie tab of the Property Inspector, defines the color of the Stage.

To use the Shockwave tab:

Select Shockwave playback options to enable the following features for your user:

| Volume Control lets users adjust the volume of the movie's soundtrack.
| Transport Control provides controls for rewinding, stopping, and stepping through the movie in Shockmachine.
| Zooming determines if stretchable Shockwave is allowed. You can disable zooming with Lingo by setting the `allowZooming` property. For more information, see the Lingo Dictionary.
| Save Local determines if the movie can be saved to Shockmachine.
| Display Progress Bar and Display Logo determine if the progress bar and logo, respectively, appear while the movie loads in the browser.

For more information, see Setting Shockwave playback options.

| To specify how your movie behaves when the width and height values in the HTML file are a different size than the movie, select from the Stretch Style pop-up menu.
| If the HTML height and width values have been set to a percentage on the General tab, the movie will resize as the browser window resizes. The way in which the movie resizes varies according to the stretch style selected.
| No Stretching, the default, means the movie plays at its original size.
| Preserve Proportions keeps the same aspect ratio of your original Director movie no matter what size the user makes the browser. The movie stretches to fill the height and width values specified in the HTML file or those determined by the percentage and size of your browser window.
| Stretch to Fill stretches the movie to fill the height and width values in the HTML file. If the aspect ratio of the movie changes, sprites on the Stage could appear distorted.
| Expand Stage Size lets users resize the Stage, but the sprites on the Stage remain the same size. The setting expands the Stage size to the size of the height and width values in the HTML file.

Note: If, on the General tab, you're using the default Match Movie Dimension setting, the stretch style settings will not affect the way your movie responds to browser resizing.

| You can use the Stretch Position Horizontal Align and Vertical Align selections to determine how your movie will line up within the `OBJECT` or `EMBED` values in the HTML file.
| For more information about using stretch styles, see the procedure under Setting movie options for browser resizing.
| To change the background color that displays while your DCR file is downloading, either click the Background Color box and select a color, or enter a value in the hexadecimal field.
| If you use Lingo to call JavaScript in your movie, you must select Movie Uses Browser Scripting. This creates a flag for Netscape to start Java when the movie loads.

To use the Compression tab:

The Compression tab sets bitmap compression for all cast members in a movie. (You can set the compression quality for individual bitmap cast members on the Bitmap tab of the Property Inspector.)

| To apply compression techniques used by Director in versions 4 through 7, select Standard. This setting is suitable for graphics with few colors.
| To use JPEG compression, click JPEG and specify the image quality setting by moving the slider to a value between 0 and 100 percent. The higher the percentage, the less the image is compressed.
| To compress the sound in your movie, select Compression Enabled and select the level of compression from the kBits/second pop-up menu. For more information about sound compression, see Compressing internal sounds with Shockwave Audio.
| You can convert stereo sounds to monaural by selecting Convert Stereo to Mono.
| If you entered text in the Comments field of the Property Inspector for your cast members, you can include those comments in your DCR file by selecting Include Cast Member Comments. You can then use Lingo to access the comments in the DCR file.

To use the Shockwave Save tab:

To save your Shockwave file for playback with Macromedia Shockmachine, you use fields on the Shockwave Save tab:

| To display the standard Shockwave context menu when your user right clicks (Windows) or Control-Clicks (Macintosh) your DCR file playing in the browser, select Context Menu.
| To suggest a Shockmachine category, such as "games," enter a description in the Suggested Category field.
| You can enter a title for the user interface in the Shockwave Title field. The title can include spaces.
| The Send URL field lets you specify and override the URL that the Shockmachine detects. You can use frame-based targets, encode form data, or include other information in the URL. If the URL is not specified, the movie uses the URL for the page that contains the movie, if the URL is available.
| You can use the Icon File field to specify the path to a BMP file.
| The Package File field lets you enter a fully qualified or relative URL to a package text file. This text file, in XML, provides a list of URLs with support files to download for a complete save of the current project.
| For content with packages, you can use the Total File Size field to specify the size, in bytes, of all content that needs to download for the movie to save successfully.

For more information about the Shockwave Save fields, and for detailed instructions on developing for Shockmachine, visit www.shockwave.com to access the Shock Remote and Shock Machine Development Guide.

To use the Image tab:

If you selected the Shockwave with Image HTML template on the Formats tab, the Image tab appears on the Publish Settings dialog box.

You can specify the image that should appear if the user doesn't have Shockwave or the ActiveX control.

| In the Poster Frame field, enter the frame number from your movie's Score that you want to appear as a JPEG image for users who are unable to view your movie.
| To specify compression for the image, move the Quality slider to the desired compression setting. The higher the percentage, the less the image is compressed.
| To specify that the image download as a progressive JPEG, select Progressive. The JPEG will then display at low resolution and increase in quality as it continues to download. Making a JPEG progressive also reduces its file size.