Embedding a SWF file??

G

Guest

Hi,
I have been given a swf file to embed as a banner on our site...

Does anyone have any tips on how I do this??
 
H

Harshal P

You will have to add an OBJECT tag in HTML code.

e.g.
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"name="myMovie" WIDTH="1004" HEIGHT="730" ALIGN="" id="rightclick" VIEWASTEXT> <PARAM NAME=movie VALUE="AdSource\Flash\<Flash File Name with fileextension>"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=opaque> <PARAM NAME=menu VALUE=false> <EMBED src="AdSource\Flash\<Flash File Name with file extension>"quality=high wmode=opaque menu=false bgcolor=#99CC00 WIDTH=900"HEIGHT="600" NAME="myMovie" ALIGN="" TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"swliveconnect="true"></EMBED></OBJECT>You can modify parameters as per your requirement.ThanksHarshal Pachpande"Buggyman" <[email protected]> wrote in messageHi,> I have been given a swf file to embed as a banner on our site...>> Does anyone have any tips on how I do this??> --> *Many* thanks.> :)
 
G

Guest

Hi!
Thanks for everyones swift responses!
I've now got the banner showing with the code below..

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="600" height="80" VIEWASTEXT>
<param name="movie" value="SWF_files/banner.swf">
<param name="quality" value="high">
<param name="menu" value="true">
<param name="play" value="true">
<param name="wmode" value="Window">
<param name="scale" value="ShowAll">
</object>

what do I need to add to it so that I give it a target/href and title
similar to a <A> attribute?

Thanks again.
--
Many thanks.
:)


Eliyahu Goldin said:
You need to include it in the html as an <object> or/and <embed> tag. Google
for "flash html", you will find plenty of examples.
 
E

Eliyahu Goldin

You need to include it in the html as an <object> or/and <embed> tag. Google
for "flash html", you will find plenty of examples.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,277
Latest member
VytoKetoReview

Latest Threads

Top