I often see some beautiful FLASH animations on the Internet. Flash is more beautiful than GIF animation. After we set it to be transparent, we can insert some beautiful pictures on the back of Flash to match it with it to achieve a beautiful effect;
Or just add transparent Flash to the webpage, the running Flash animation will not affect the viewer. It can also attract more people to visit you ~~ Of course, you need to be cautious when inserting Flash, because it will make the web page load significantly slower.
(1) First teach you the simplest code to insert Flash, transparent, no coordinate control:
Note that wmode = "transparent" controls whether Flash is displayed transparently. If you do not want it to be displayed transparently, just remove wmode = "transparent".
<EMBED height = 360 pluginspage = http: //www.macromedia.com/go/getflashplayer src = img / 1.swf type = application / x-shockwave-flash width = 500 wmode = "transparent" quality = "high"> </ EMBED>
(2) Teach you to add transparent Flash with absolute coordinates. Absolute coordinates mean that no matter how big your window is, the Flash still stays in place.
<EMBED style = "LEFT: 250px; WIDTH: 550px; POSITION: absolute; TOP: 200px;
HEIGHT: 1000px "align = right src = http: //user.hjenglish.com/yangbb/pics/snow.swf width = 500 height = 2000 type = application / octet-stream ;; quality =" high "wmode =" transparent ">
(Three) finally teach everyone how to add relative coordinate transparent Flash, pay attention to the table part of the code below, this is mainly to use the table as a container, "Flash" into the table, so no matter how large the browser is, Always move with the form. Moreover, the table can be set with a background image, and a transparent Flash is placed on the table to match the background image. Wow, the effect is very good.
<table border = "0" cellPadding = "0" cellSpacing = "0" width = 600 height = 382 align = center
background = / book / ewebeditor / UploadFile / 20051212165525581.jpg>
<TD width = 600 height = 382> <EMBED pluginspage = http: //www.macromedia.com/go/getflashplayer
src = http: //user.hjenglish.com/yangbb/pics/hearts.swf width = "100%" height = "100%"
type = application / x-shockwave-flash wmode = "transparent"
quality = "high"> </ EMBED> </ TD> </ td> </ table>