Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
I have a user that created a flash banner for me it looks awesome but I cant add it.

What would be the code to make it display the .swf file instead of the jpg or gif?

Sponsored Links
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Try this, change the name/path to your file and the demensions to match your own. It's also centered so you can play with that too.

Code
<br /><div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="468" height="60"><br />    <param name=movie value="http://www.yoursite.com/test.swf"><br />    <param name=quality value=high><br />    <embed src="http://www.yoursite.com/test.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"><br />    </embed> <br />  </object></div><br />

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
This is our header code, you should be able to get it to work:
Code
<br /><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br /><table align="center" width="100%" cellpadding="0" cellspacing="0"><br />  <tr> <br />    <td bgcolor="#003366"> <br />      <div align="center"> <br />        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"<br /> codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"<br /> width="780" height="89" align=""><br />          <param name=movie value="http://www.yourdomain.com/threadsinstall/yourheader.swf"><br />          <param name=menu value=false><br />          <param name=quality value=best><br />          <param name=bgcolor value=#000033><br />          <embed src="http://www.yourdomain.com/threadsinstall/yourheader.swf"  width="780" height="89" align="" menu=false quality=best bgcolor=#000033<br /> type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"></embed> <br />        </object><br />      </div></td><br />  </tr><br /></table><br /><table align="center" width="780" cellpadding="0" cellspacing="0"><tr><td><br />

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Worked.

still playing with the settings....


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)