Tip: Implement flash-transparent code on a Web page

Source: Internet
Author: User
Tags implement
Tips | transparent | Web page

Flash than GIF animation to be more beautiful, we set it to transparent, the back of the flash we can insert some beautiful pictures with it to achieve a very beautiful effect, or just add transparent flash in the Web page, running Flash animation will not affect the viewer to see your blog. Can attract more people to visit you oh, of course, it is also necessary to mention that inserting flash should be cautious, because it will make the Web page loading speed significantly slower.

(a) First of all to teach you the simplest plug-in flash code, transparent, no coordinate control:
Note that wmode= "Transparent" is to control whether flash is transparent display, if you do not want it to display as transparent, directly wmode= "Transparent" can be removed.

<embed height=60 Pluginspage=http://www.macromedia.com/go/getflashplayer src=/uploadpic/2007-7/20077803153888. SWF type=application/x-shockwave-flash width=468 wmode= "Transparent" quality= "high" ></EMBED>


(b) to teach everyone to join the absolute coordinates of the transparent flash, the absolute coordinates means that no matter how big your window, the flash is still obediently in situ motionless

<embed style= "left:60px; width:468px; Position:absolute; top:200px;
height:1000px "Align=right src=/uploadpic/2007-7/20077803153888.swf width=568 height=60 type=application/ Octet-stream;; quality= "High" wmode= "Transparent" >

(c) Finally teach you how to add the relative coordinates of the transparent flash, pay attention to the table section of the following code, this is mainly using the table as a container, the flash "loaded" into the table, so no matter how large the browser to pull, flash forever and the table move together. Moreover, the table can set a background picture, the table above a transparent flash and the background picture with, wow plug, the effect is very good.

<table border= "0" cellpadding= "0" cellspacing= "0" width=600 height=382, Align=center
Background=/book/ewebeditor/uploadfile/20051212165525581.jpg>
&LT;TD width=600 height=382><embed Pluginspage=http://www.macromedia.com/go/getflashplayer
src=/uploadpic/2007-7/20077803153888.swf width= "100%" height= "100%"
Type=application/x-shockwave-flash wmode= "Transparent"
quality= "High" ></EMBED></TD></td></table>

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.