Skip to content

Transparent swf in html

So you have now placed a swf file into your html page and you want to be able to see through it.

Lucky for you, this is a very easy thing to do!

The following code does the trick:

<object data="flash/home_side_left.swf" type="application/x-shockwave-flash" width="40px" height="550px"><param name="movie" value="flash/home_side_left.swf" /><param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /></object>
Code language: HTML, XML (xml)

Notice that by just adding the wmode and setting it as ‘transparent’ does everything for you!

See also  Calculate the Most Frequent Weekdays in Go
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x