Question about header.

Discussion in 'HTML & Website Design' started by eddie43302, Jan 5, 2007.

  1. #1
    Im no dummy when it comes to building website but this has got me stumped at my directory my header works fine on everypage except when i go into the sub directory then the flash wont load and it will say movie not loaded. Any answers?
     
    eddie43302, Jan 5, 2007 IP
  2. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #2
    Are you referencing the header image correctly on those pages?
     
    dcristo, Jan 5, 2007 IP
  3. eddie43302

    eddie43302 Well-Known Member

    Messages:
    1,126
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    160
    #3
    i Acutally have the flash image in the topbar.tpl looks better in the topbar.tpl and i forgot the link directlinks.org
     
    eddie43302, Jan 5, 2007 IP
  4. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #4
    Try referencing the flash file directly:


    ie. http://www.directlinks.org/directlinks.swf
     
    dcristo, Jan 5, 2007 IP
  5. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #5
    Heres your problem: :p

    <param name="movie" value="[B]directlinks.swf[/B]" />
    Code (markup):
    and
    <embed src="[B]directlinks.swf[/B]" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="100">
    Code (markup):
    The path to the directlinks.swf file. It loads fine on the homepage because the swf file is in the root folder. But it doesn't load in subcategories because the browser looks for the flash file inside the "folder" (your se friendly url), for example Internet_and_Web_Services/directlinks.swf

    Solution:
    Change the path to the flash file, use an absolute/full path. This should do it:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="750" height="100" title="logo">
    <param name="movie" value="http://directlinks.org/directlinks.swf" />
    <param name="quality" value="high" />
    <embed src="http://directlinks.org/directlinks.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="100"></embed>
    </object>
    Code (markup):
     
    eXe, Jan 5, 2007 IP
  6. eddie43302

    eddie43302 Well-Known Member

    Messages:
    1,126
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Cool thanks alot.
     
    eddie43302, Jan 5, 2007 IP
    eXe likes this.
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Dan Schulz, Jan 6, 2007 IP