Author Topic: Flash file in header.html  (Read 2786 times)

0 Members and 1 Guest are viewing this topic.

Offline random101

  • Pre-Newbie
  • Posts: 2
    • View Profile
Flash file in header.html
« on: March 05, 2007, 08:30:08 PM »
Hey guys, im having trouble adding my banner (flash logo) into the header.html and i was wondering if someone knew what was going wrong?

Ive added the following code to the bottom of the header.html file but when i load the page it comes up with 'movie not loaded' where the logo should show up.

Do flash files need to be uploaded to a particular directory? Ive tried both template/default and template/default/images but i still receive the same error.

Im pretty sure the paths to the .swf files are correct but no matter what i do the logo just will not show. When i use the code in a separate html file it seems to work but whenever the code is run from within 4images it refuses to show the flash.

Is there a setting somewhere that needs to be changed? Should I add the logo\banner into another html file?

Anyone got any recommendations?

Cheers.

Code: [Select]
<object
        classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
        id="logo"
        width="539" height="33"
      >
        <param name="movie" value="logo.swf">
        <param name="bgcolor" value="#FFFFFF">
        <param name="quality" value="high">
        <param name="devicefont" value="true">
        <param name="allowscriptaccess" value="samedomain">
        <embed
          type="application/x-shockwave-flash"
          pluginspage="http://www.macromedia.com/go/getflashplayer"
          name="logo"
          width="539" height="33"
          src="logo.swf"
          bgcolor="#FFFFFF"
          quality="high"
          swliveconnect="true"
          allowscriptaccess="samedomain"
        >
          <noembed>
          </noembed>
        </embed>
      </object>
    </center>

p.s Ive also tried to only use the embed tag instead of object and embed but still it refuses to show up.

Offline random101

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Flash file in header.html
« Reply #1 on: March 06, 2007, 10:38:43 AM »
lol, i really am an idiot, i just assumed files would go into the templates directory instead of the 4images root.

thanks for the help mate, very much appreciated.