Transparency in Flash (browser)

From JumbaWiki

Jump to: navigation, search

Contents

Publishing from Flash

The HTML for a Flash movie can be created using the Publish Settings feature in Flash. The Publish Settings dialog box provides an option to affect the WMODE setting. The options selected in the Publish Settings will be added to the HTML source code automatically:

  • Choose File > Publish Settings. Select the HTML tab.
  • Choose "Transparent" in the WMODE setting to make the Flash movie's background disappear in browsers which support this feature.
  • Publish the document.

Using Dreamweaver

Follow the below steps, and Dreamweaver will insert the correct HTML code automatically.

  • In Dreamweaver, insert the Flash movie into an HTML page.
  • Select the Flash movie in the Design View.
  • In the Properties panel, choose Parameters.
  • For the Parameter, enter "wmode" (without quotes). For the Value, enter "transparent".
  • Save the document. The HTML page is complete.
  • View a demonstration of these steps.

Editing HTML code manually

To edit an existing HTML page, add the WMODE parameters to the HTML code.

Add the following parameter to the OBJECT tag:

  <param name="wmode" value="transparent">

Add the following parameter to the EMBED tag:

  wmode="transparent"

See also

Personal tools
Australian Photography | Unique Views of Reality | Daedalus | Pet Forums