|
-
Is it possible to make a transparant Flah (swf) movie. It seems to me that I always have to use a solid background color.
Johan de Wit
-
this has been asked b4, and here follows the reply:
--------------------------------------------------------------------------------
How to make a Flash movie with a transparent background
Product: Flash Platform: All Versions: 3.0 and above ID: 14201
The background of a Flash movie can be set to display as transparent, in some browser configurations. This allows the background color or image of the HTML page that contains the Flash movie to show through. However, this feature is only supported in Internet Explorer 4 or higher for Windows. The movie's background will not be transparent for users of Netscape Navigator for Windows and all Macintosh browsers.
Transparent backgrounds are also not possible in a Flash standalone projector.
Prepare the HTML page to make the Flash movie transparent:
The HTML for a Flash movie can be easily created using the Publish Settings. 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.
1 Select File > Publish Settings and select the HTML tab.
2 Choose "Transparent" in the WMODE setting to make the Flash movie's background disappear in IE4 and above on Windows.
To edit an existing HTML page instead, add the following parameter to the OBJECT tag in the HTML code:
<param name="wmode" value="transparent">
Examples:
With transparency:
This example will make the black background of the Flash movie transparent ONLY if viewed in Internet Explorer 4 or higher for Windows. Viewing this example in any other browser or platform will show the black background color which has been set in Modify > Movie. If you view this TechNote with Internet Explorer 4 for Windows (with the Flash 4 ActiveX control installed), you should see the white background color of this TechNote show through.
Without transparency:
This example does not contain the WMODE tag, and will always display the black background color of the SWF.
Additional information
For more details on using WMODE, see page 258 in the Flash 4 manual.
Keywords: WMODE, transparency, transparent, alpha, display, background color, movie properties
Last updated: April 17, 2000
Author: Bentley Wolfe
Area: Tips & Tricks
--------------------------------------------------------------------------------

-
Senior Member
Realy great post MhORe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|