[Tutorial] Flash - Create transparent flash movies for HTML

Come here to View/Post any tutorials here.
x2i said
Post Fri Jul 11, 2008 1:30 am
If you have ever tried to embed a flash movie on a webpage, you may have noticed that whatever background colour you chose when you created the flash is present in your movie on the page. Meaning technically you can only really have a rectangle flash movie on your stage unless you spend time seamlessly trying to blend the images and movies together.

Well, although you cannot change the fact that your flash movies will always be rectangular, you can give the illusion that it is any shape you like by getting rid of the background colour.

It all lies in your HTML coding for embedding flash movies. Take a look:

Code: Select all
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  ID="mymovie" width="250" height="100">
<param name="movie" value="mymovie.swf">
<param name="quality" value="high">
<param name="wmode" value="Transparent">
<embed src="mymovie.swf" quality="high" bgcolor="#FFFFFF"
type="application/x-shockwave-flash" >
</object>


Notice that the value for wmode is transparent. This is the key part and it basically makes the background of the flash movie transparent - try it for yourself
:wink:
Signature

Sirtopeia said
Post Mon Dec 01, 2008 2:18 am
YES! just what i needed!
*fixes everything on my site*
Signature

[ Sort Options ]

Return to Tutorials




Who is online?

Users browsing this forum: No registered users and 1 guest

cron