Flash CS5 Publish Settings for HTML Files

To present Adobe Flash Creative Suite 5 movies on the web, you’ll need to publish an HTML file that contains your Flash SWF file. This HTML file not only displays your movie but also includes all code necessary to control dimensions, appearance, and runtime options (such as telling your movie to loop).

The HTML file features the same background color as your movie so that it matches seamlessly when viewed in a browser.

Select the HTML (.html) check box in the Formats tab of the Publish Settings dialog box and then click the HTML tab. On the HTML tab, you can choose from the following options for your published HTML file:

  • Template: This setting generates an HTML file based on different possible environments, such as standard browsers, Pocket PCs, or additional options for full-screen support.

    For any selected template, an AC_RunActiveContent.js file is created. Copy this file to your web server with any other generated files. This file is a workaround for recent changes to Internet Explorer’s handling of active content.

  • Detect Flash Player Version check box: This option adds code in your HTML file to display alternative content if the user doesn’t have Flash Player installed. You can customize this content in any HTML editor. The default content provides a link for the user to download and install the latest version of Flash Player.

  • Dimensions: The code in your HTML file specifies a size for your Flash movie, which, by default, matches your movie’s dimensions. You can override this setting and force your movie to a different size in either pixels or percentage by typing values in the Width and Height text boxes.

  • Playback: Check boxes in this area set runtime options for your Flash movie. By default, Flash Player is directed to loop movies and to make the contextual menu available to the user. You can disable either of these features, force the movie to pause at the start, or use device fonts (fonts from the user’s machine instead of embedded fonts).

  • Quality: Control the overall display quality of your movie by selecting a Low, Medium, or High quality setting from the drop-down list.

  • Window Mode: This drop-down list lets you choose how Flash appears in the context of your web page. You can set Flash movies to be opaque or transparent to reveal the background of the page.

  • HTML Alignment: Select a left, right, top, or bottom alignment of your movie as determined by the HTML code using the provided drop-down list.

  • Scale: This drop-down list lets you choose whether the HTML page scales the Flash movie to a size other than its default size.

  • Flash alignment: This option controls the positioning of your Flash movie within the page. Use the drop-down lists to select vertical or horizontal alignment values, or both.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.