Sunday, October 11, 2009

The transparent setting of Flash comes true in Dreamweaver

We often get the question that the netizen that industry of network of a few begin to learn makes raises, a lot of problems actually very simple, should think only want to be able to be solved, but some netizens do not like to think more, encounter a problem to want not to want to ask others directly, method of this kind of study but not quite good. And after the author of the article acquires a kind of skill, he discovers this kind of skill issues indication result to differ in two kinds of environments, the distinction of the source code that this moment generates in two kinds of environments quite is to solve the method with best problem undoubtedly! He also does so just about, solved a problem finally. It is too difficult that the issue that the article involves does not calculate, but the author discovers the problem, train of thought that solves a problem is worth us to learn very much however!

Above all devotion thanks Ling Yu the 5942 helps that give me! Below his edificatory I discovered another kind implements the measure of Flash transparent setting, wish to be discussed jointly with everybody

Ling Yu 5942 informed settlement method: Option is released to be chosen in the Html of Flash Windows Mode/transparent Windowless, release for Html, insert a webpage to be able to get the result of transparent Flash.

Pretty good, go doing according to such method, can release a Html page that contains transparent Flash. But it puts in a problem: The Html that releases Flash animation is releasing at the same time with its only shows transparent result in the page, and if use Dreamweaver to build a file, in inserting its the page again, save- - >> F12 previews us to be able to discover it is opaque! Is this how to return a responsibility?

I compared the source code of the Html page that releases with Flash and the two Html page that contain Flash animation with what Dreamweaver makes carefully:

1. With the Html page source code that Flash issues:

<HTML>
<HEAD>
<TITLE>Movie2</TITLE>
</HEAD>
<BODY Bgcolor="#000000">
< ! - - URL's Used In The Movie- - >
< ! - - Text Used In The Movie- - >
< ! - - Fdsaaaa Aaaaaaa- - >

<OBJECT Classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 "Codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
/ Swflash.cab#version=5, 0, 0, 0 "
WIDTH=550 HEIGHT=400>
<PARAM NAME=movie Value="Movie2.swf">
<PARAM NAME=quality Value=high>
<PARAM NAME=wmode Value=transparent>
<PARAM NAME=bgcolor Value=#FFFFFF>< ! - - after deriving with Flash setting instead black, its purpose is facilitating observation transparent effect- - >
<EMBED Src="Movie2.swf" Quality=high Wmode=transparent Bgcolor=#FFFFFF WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version
=ShockwaveFlash"></EMBED>
</OBJECT>
'www.knowsky.com
</BODY>
</HTML>

2. With the source code of the contains Flash animation Html page that Dreamweaver makes:

<html>
<head>
<title>Untitled Document</title>
<meta Http-equiv="Content-Type" Content="text/html; Charset=gb2312">
</head>

<body Bgcolor="#000000" Text="#000000">< ! - - setting also is black, its purpose is facilitating observation transparent effect- - >
<object Classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" Codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
/ Swflash.cab#version=5, 0, 0, 0" Width="550" Height="400">
<param Name=movie Value="Movie2.swf">
<param Name=quality Value=high>
<embed Src="Movie2.swf" Quality=high Pluginspage="http://www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version
=ShockwaveFlash" Type="application/x-shockwave-flash" Width="550" Height="400">
</embed>
</object>
</body>
</html>

Ask careful trade off study the <embed> mark in the <object> mark of two paragraphs of code, we discover among them different point: Former have parameter Wmode=transparent and latter is done not have however, this affects the crucial place with whether transparent Flash namely!

Think the attribute face plate of the concerned Flash of Dreamweaver please, whether to have impression to Parameter? Whether does everybody know its good?

Let us do transparent result with Dreamweaver now: The Flash animation that pitch on already a moment ago inserted, right after attacking a mouse to choose face plate of Properties v attribute, click Parameter pushbutton again, plus icon is clicked in shooting the dialog box that give, wmode is keyed in to key in Transparent to click Ok inside the Value casing on the right side of in left Parameter, undertake previewing by F12, ok! The transparent result that we want appeared!

Do not want first excited, we popularize this one skill, whether can it is opposite any is by Flash acquiesce installed (namely does incorrect Windows Mode/transparent Windowless undertake modification) animation be successful? The test that passes me proves it is general try out. Insert any Flash animation in Dreamweaver that is to say hind, the transparent setting effect that has setting of Value=transparent of → of Wmode of → of Properties → Parameter can realize Flash to its.

Still have a lot of kinds besides Wmode about the Parameter of animation of the Flash in Dreamweaver actually, ask everybody to notice more in the following study, much communication!

No comments:

Post a Comment