HTML code of Flash (SWF file) inserted into the webpage

Source: Internet
Author: User


1. Insert a flash Image
<Embed src = "Your flashaddress .swf"
Width = "300" Height = "220"> </embed>
Ii. Adjust the flash image inserted
<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 =" 60 ">
<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 =" 60 ">
</Embed> </Object> </TD>
3. Adjust and insert Flash Images
<Table border = "0" cellpadding = "0" cellspacing = "0" width = "100%">
<Tr>
<TD Height = "210" 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 =" 750 "Height =" 210 "wmode =" Transparent ">
</Embed>
</Object> </TD>
</Tr> </table>
Iv. Insert transparent flash
1. Insert transparent flash code in Dreamweaver:
<TD width = "375" Height = "88" rowspan = "2" valign = "bottom"
Background = "images/tu.jpg"> <! -- Set the cell background to the image background (of course, a nice image is needed) -->
<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"> <! -- The code here can make 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. Insert transparent flash code into FrontPage:
<Embed src = "fish1.swf" Quality = high width = 50 height = 50
Wmode = transparent type = 'application/X-Shockwave-flash'> </embed>
<! -- Wmode = transparent this section is set to transparent background -->

3. Insert transparent FLASH: <embed src = "***/***. SWF" Quality = high width = 100% Height = 100%
Wmode = transparent type = 'application/X-Shockwave-flash'>
4. Transparent flash Coverage 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>

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.