Publishing > Publishing Flash documents > Setting publish settings for HTML documents accompanying Flash movies |
![]() ![]() ![]() |
Setting publish settings for HTML documents accompanying Flash movies
Playing a Flash movie in a Web browser requires an HTML document that activates the movie and specifies browser settings. This document is generated automatically by the Publish command, from HTML parameters in a template document.
The template document can be any text file that contains the appropriate template variablesincluding a plain HTML file, one that includes code for special interpreters such as ColdFusion or Active Server Pages (ASP), or a template included with Flash (for more information, see Configuring a Web server for Flash).
You can customize a built-in template (see Customizing HTML publishing templates), or manually enter HTML parameters for Flash using any HTML editor (see Editing Flash HTML settings).
HTML parameters determine where the Flash movie appears in the window, the background color, the size of the movie, and so on, and set attributes for the OBJECT
and EMBED
tags. You can change these and other settings in the HTML panel of the Publish Settings dialog box. Changing these settings overrides options you've set in your movie.
Publish settings for HTML format
To publish HTML for displaying the Flash file:
1 |
Choose File > Publish Settings. |
The HTML file type is selected by default. |
|
2 |
Enter a unique name for HTML Filename, or select Use Default Name to create a file with the Flash filename plus the .html extension. |
3 |
Click the HTML tab to display HTML settings. |
4 |
Choose an installed template to use from the Template pop-up menu; click the Info button to the right to display a description of the selected template. If you don't choose a template, Flash uses the Default.html template. If that template isn't present, Flash uses the first template in the list. |
5 |
Choose a Dimensions option to set the values of the |
![]() |
Choose Match Movie (the default) to use the size of the movie. |
![]() |
Choose Pixels to enter the number of pixels for the width and height in the Width and Height field. |
![]() |
Choose Percent to use a percentage of the browser window relative to the browser window. |
6 |
Select Playback options to control the movie's play and features, as follows: |
![]() |
Paused at Start pauses the movie until a user clicks a button in the movie or chooses Play from the shortcut menu. By default, the option is deselected and the movie begins to play as soon as it is loaded (the |
![]() |
Loop repeats the movie when it reaches the last frame. Deselect this option to stop the movie when it reaches the last frame. (The |
![]() |
Display Menu displays a shortcut menu when users right-click (Windows) or Control-click (Macintosh) the movie. Deselect this option to display only About Flash in the shortcut menu. By default, this option is selected (the |
![]() |
For Windows only, select Device Font to substitute anti-aliased (smooth-edged) system fonts for fonts not installed on the user's system. Using device fonts increases the legibility of type at small sizes and can decrease the movie's file size. This option only affects movies containing static text (text that you created when authoring a movie and that does not change when the movie is displayed) set to display with device fonts. For more information, see Using device fonts (horizontal text only). |
7 |
Select Quality to determine the trade-off between processing time and applying anti-aliasing to smooth each frame before it is rendered on the viewer's screen, as follows. This option sets the |
![]() |
Low favors playback speed over appearance and does not use anti-aliasing. |
![]() |
Auto Low emphasizes speed at first but improves appearance whenever possible. Playback begins with anti-aliasing turned off. If the Flash Player detects that the processor can handle it, anti-aliasing is turned on. |
![]() |
Auto High emphasizes playback speed and appearance equally at first but sacrifices appearance for playback speed if necessary. Playback begins with anti-aliasing turned on. If the actual frame rate drops below the specified frame rate, anti-aliasing is turned off to improve playback speed. Use this setting to emulate the View > Antialias setting in Flash. |
![]() |
Medium applies some anti-aliasing, but does not smooth bitmaps. It produces a better quality than the Low setting, but lower quality than the High setting. |
![]() |
High (the default) favors appearance over playback speed and always uses anti-aliasing. If the movie does not contain animation, bitmaps are smoothed; if the movie has animation, bitmaps are not smoothed. |
![]() |
Best provides the best display quality and does not consider playback speed. All output is anti-aliased and bitmaps are always smoothed. |
8 |
For the Windows version of Internet Explorer 4.0 with the Flash ActiveX control, choose a Window Mode option for transparency, positioning, and layering.This option specifies the |
![]() |
Window plays a Flash movie in its own rectangular window on a Web page, for the fastest animation. The option sets the |
![]() |
Opaque Windowless moves elements behind Flash movies (for example, with dynamic HTML) to prevent them from showing through, setting the |
![]() |
Transparent Windowless shows the background of the HTML page on which the movie is embedded through all transparent areas of the movie, but may slow animation. The option sets the |
9 |
Choose an HTML Alignment option to position the Flash movie window within the browser window: |
![]() |
Default centers the movie in the browser window and crops edges if the browser window is smaller than the movie. |
![]() |
Left, Right, Top or Bottom aligns movies along the corresponding edge of the browser window and crop the remaining three sides as needed. |
10 |
Choose a Scale option to place the movie within specified boundaries, if you've changed the movie's original width and height. The Scale option sets the |
![]() |
Default (Show All) displays the entire movie in the specified area without distortion while maintaining the original aspect ratio of the movies. Borders may appear on two sides of the movie. |
![]() |
No Border scales the movie to fill the specified area and keeps the movie's original aspect ratio without distortion, cropping if needed. |
![]() |
Exact Fit displays the entire movie in the specified area without preserving the original aspect ratio, which may cause distortion. |
![]() |
No Scale prevents the movie from scaling when the Flash Player window is resized. |
11 |
Choose a Flash Alignment option to set how the movie is placed within the movie window and how it is cropped, if necessary. This option sets the |
![]() |
For Horizontal alignment, choose Left, Center, or Right. |
![]() |
For Vertical alignment, choose Top, Center, or Bottom. |
12 |
Select Show Warning Messages to display error messages if tag settings conflictfor example, if a template has code referring to an alternate image that has not been specified. |
13 |
To save the settings with the current file, click OK. |
![]() ![]() ![]() |