Thursday, December 4, 2008

How to make a Flash movie with a transparent background

PublicTechNote:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14201
How to make a Flash movie with a transparent background

How to make a Flash movie with a transparent background

The background of a Flash movie can be set to transparent. This allows the background color or image of the HTML page that contains the Flash movie to show through and allows the layering of Flash content with DHTML content.

Preparing the HTML page to make the Flash movie transparent
Three methods of creating an HTML page with the correct code are outlined below.

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.
The Adobe Captivate demonstration below illustrates how to use the Publish Settings in Flash to change the WMODE settings. For more information about viewing this demo, see Viewing Adobe Captivate Demos in Knowledgebase Documents (TechNote kb403894).

0 comments: