Two ways to realize flash transparency in Web pages

Source: Internet
Author: User
Tags format
Transparent | Web page

  The first method:

<table align=center background=http://www.webjx.com/11713336.gif border=0 cellpadding=0 cellSpacing=0 Width=350>
<TBODY>
<TR>
<TD>

<embed height=170 Pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.webjx.com/tmswf/04. SWF type=application/x-shockwave-flash width=330 wmode= "Transparent" quality= "high" ></EMBED>

</TD></TR></TBODY></TABLE>

Where the code to insert transparent Flash is:

<embed height=170 Pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.webjx.com/tmswf/04. SWF type=application/x-shockwave-flash width=330 wmode= "Transparent" quality= "high" ></EMBED>


Description: That is, the flash in the picture inside, so that the picture must be as a background to do, the problem is that the picture is often larger, and the forum to display a limited scope, as the background of the picture often can not display the whole picture. Therefore, we suggest that when you use this format, it is best to select some smaller graphs, or you can use PS to change the figure to use.

  Two, the second kind of effect

The flash positioning, so that the picture can not be used as a background, directly with the picture format, picture size can also be arbitrary, the effect is better than the previous one, is to undergo repeated adjustments to the line, some trouble.

The code is as follows:

<table align=center background=http://www.webjx.com/4124391117.gif border=4 cellPadding=0 cellSpacing=10 Width=450><tbody><tr><td>

<p align=center></p></ Font>

<embed style= "left:270px; width:400px; Position:absolute; top:12200px; height:300px "Align=right src=http://www.webjx.com/tmswf/04.swf width=400 height=300 type=application/octet-stream Wmode= "Transparent" quality= "high"; ></EMBED>

</TD></TR></TBODY></TABLE>


The code for inserting the Flash is:

<embed style= "left:250px; width:400px; Position:absolute; top:12200px; height:300px "Align=right src=http://www.cn898.net/bg/4.swf width=400 height=300 type=application/octet-stream wmode = "Transparent" quality= "high";; ></EMBED>


  Description

top:12200px refers to the distance between Flash and the top of the post (that is, the distance between Flash and IE). left:50px refers to the flash and the distance to the left of the post, width:00px height:300px refers to the range of flash positioning width and height, the back of the width=400 height=3000 refers to the width and height of flash.



Related Article

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.