HTML code for inserting a Flash (SWF file) in a Web page

Source: Internet
Author: User

First, simple insert flash image
<embed src= "Your flash address. swf"
Width= "height=" ></embed>
Second, adjust the Insert flash image
&LT;TD width= "63%" valign= "Middle" align= "right" ><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=" 468 " Height= ">"
<param name=movie value= "Your flash address" ref>
<param name=quality value=high>
<param name= "_cx" value= "12383" >
<param name= "_cy" value= "1588" >
<param name= "Flashvars" value>
<param name= "SRC" ref value= "Your flash address" >
<param name= "WMode" value= "Window" >
<param name= "Play" value= "-1" >
<param name= "Loop" value= "-1" >
<param name= "Salign" value>
<param name= "Menu" value= "-1" >
<param name= "Base" value>
<param name= "allowscriptaccess" value= "Always" >
<param name= "scale" value= "ShowAll" >
<param name= "Devicefont" value= "0" >
<param name= "Embedmovie" value= "0" >
<param name= "BGColor" value>
<param name= "Swremote" value>
<param name= "Moviedata" value>
<embed src= "Your flash address" Quality=high pluginspage= "http://www.macromedia.com/shockwave/download/index.cgi? P1_prod_version=shockwaveflash "type=" Application/x-shockwave-flash "width=" 468 "height=" >
</embed></object></td>
Third, adjust the Insert flash image
<table border= "0" cellpadding= "0" cellspacing= "0" width= "100%" >
<tr>
&LT;TD height= "background=" background image. jpg "><object classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 height=210 width= 750>
<param name= "movie" value= "path/file name. swf" >
<param name= "Quality" value= "High" >
<param name= "wmode" value= "Transparent" >
<embed src= "path/file name. swf" Quality=high pluginspage= "http://www.macromedia.com/shockwave/download/index.cgi? P1_prod_version=shockwaveflash "type=" Application/x-shockwave-flash "width=", "height=", wmode= "Transparent" >
</embed>
</object></td>
</tr></table>
Iv. inserting transparent Flash
1. dreamweaver insert transparent Flash code:
&LT;TD width= "375" height= "2" rowspan= "valign="
Background= "Images/tu.jpg" ><!--set the background of the cell as a picture background (of course, put a nice look)-
<object classid= "clsid27cdb6e-ae6d-11cf-96b8-444553540000"
Codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
Width= "373" height= "166" align= "Center" >
<param name= "movie" value= "images/move.swf" >
<param name= "Quality" value= "High" >
<param name= "wmode" value= "Transparent" > <!--here the code makes the flash background transparent--
<embed src= "images/move.swf" width= "373" height= "166"
align= "center" quality= "High"
Pluginspage= "http://www.macromedia.com/go/getflashplayer";;;
Type= "Application/x-shockwave-flash" ></embed></object>
</td>
2, FrontPage Insert transparent Flash Code:
<embed src= "fish1.swf" Quality=high width=50 height=50
Wmode=transparent type= ' Application/x-shockwave-flash ' ></embed>
<!--Wmode=transparent This paragraph is set background transparent--

3. Insert Transparent flash:<embed src= "***/***.swf" Quality=high width=100% height=100%
Wmode=transparent type= ' Application/x-shockwave-flash ' >
4. Transparent Flash Overlay Code:
<embed style= "left:0px; Position:absolute; top:0px; Absolute: "Align=right src=http://ysxiong.anyp.cn/pagelayout/userdataa/data53/usid200403062012220031/articles/ images/040917060055890.swf width=1000 height=606 type=application/x-shockwave-flash wmode= "Transparent" quality= " High ";; ></EMBED>

HTML code for inserting a Flash (SWF file) in a Web page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.