View Full Version : How do you put Flash on sites?


netkid
03-15-2002, 10:41 PM
Wuts da code to put Flash on ur Website???


HELP!!

Marianne
03-16-2002, 09:25 AM
Here's the code you need:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="550" height="400">
<param name=movie value="YOURMOVIE.swf">
<param name=quality value=high>
<param name="wmode" value="Transparent">
<embed src="YOURMOVIE.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400">
</embed>
</object>

Of course the width or height of your movie can be different from the values in the example above.
Don't forget to replace "YOURMOVIE.swf" by your movie (twice!)

The part where it says:
<param name="wmode" value="Transparent">
means the background of your movie is transparent.
You can leave this line out if you want to have a background colour.

The easiest way to put a movie in your HTML file is by publishing it in .swf and .html (the default values) in Flash.
Then you can simply cut and paste the code from the generated HTML file into your own HTML file. Do make sure they have different names though, so you won't accidentally overwrite your own file every time you publish the movie.

Good luck.

netkid
03-16-2002, 01:14 PM
Thnk You, Your a life saver! :)

.TwiZty.
04-11-2002, 03:58 PM
Or you can be lazy like me and just use:

<embed src="headbutt.swf" width="" height="" wmode="transparent"></embed>

elfenheroin
05-18-2003, 06:31 AM
So which is better??? I like being very specific but I also like being lazy. ^_^

Does the shorter one look as nice as the long one or better or the long one looks better???

Marianne
05-18-2003, 09:21 AM
I think the longer one takes you to download Flash player if you don't have it. Other than that I'm not sure if there are any differences.

B.t.w., that's a very old thread you brought up.
But since people keep asking about Flash code it might be useful.