SWF graphic shows on one page but not another!

Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?

Moderator: General Moderators

Post Reply
stubarny1
Forum Newbie
Posts: 5
Joined: Mon Aug 23, 2010 5:39 pm

SWF graphic shows on one page but not another!

Post by stubarny1 »

Hello everyone,

I have a SWF banner advert showing at the top of http://www.pilotjobsnetwork.com for Oxford Aviation (if the non-SWF Rishworth Aviation banner is showing please refresh the page until the Oxford Aviation advert shows).

But if you look at http://www.pilotjobsnetwork.com/jobs/NI ... fahrt_GmbH only the non-SWF Rishworth Aviation banner advert shows (when the Oxford Aviation SWF banner should be showing there is just a blank space).

The following code is used on both pages to show the Oxford Aviation advert:
<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shoc ... n=6,0,40,0'
WIDTH='728' HEIGHT='90' id='Oxford_Aviation'>
<PARAM NAME=movie VALUE='Oxford_Aviation_2010_October.swf'>
<PARAM NAME=quality VALUE=high>
<EMBED src='Oxford_Aviation_2010_October.swf' quality=high WIDTH='728' HEIGHT='90'
NAME='Oxford_Aviation' ALIGN='' TYPE='application/x-shockwave-flash'
PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>
</EMBED>
</OBJECT>
(I've saved the "Oxford_Aviation_2010_October.swf" file to both http://www.pilotjobsnetwork.com directory and http://www.pilotjobsnetwork.com/jobs directories but still nothing)

I'd be really grateful if someone could point me in the right direction with this.

Many thanks.

Stu
ladesignandcoding
Forum Newbie
Posts: 6
Joined: Mon Oct 04, 2010 3:50 pm

Re: SWF graphic shows on one page but not another!

Post by ladesignandcoding »

that is I clicked on both links and they where showing different I am not sure it could be something in the coding or the link its self I am not 100% sure and I do not want to try and show you if I am not sure.
danwguy
Forum Contributor
Posts: 256
Joined: Wed Nov 17, 2010 1:09 pm
Location: San Diego, CA

Re: SWF graphic shows on one page but not another!

Post by danwguy »

seems like you would want the "Oxford_Aviation_2010_October.swf" to be in the "pilotjobsnetwork.com/jobs/NIKI_Luftfahrt_GmbH" directory since it isn't defining a directory in teh script it's just looking for the file in the same place that the html is in. so put that swf in the exact same directory as the html you are linking it on and it should work just fine.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: SWF graphic shows on one page but not another!

Post by John Cartwright »

danwguy wrote:seems like you would want the "Oxford_Aviation_2010_October.swf" to be in the "pilotjobsnetwork.com/jobs/NIKI_Luftfahrt_GmbH" directory since it isn't defining a directory in teh script it's just looking for the file in the same place that the html is in. so put that swf in the exact same directory as the html you are linking it on and it should work just fine.
If you already have the flash file in the document root, it doesn't make sense to duplicate the file elsewhere just to satisfy a pathing configuration.

Simply change

Code: Select all

<PARAM NAME=movie VALUE='Oxford_Aviation_2010_October.swf'>
to

Code: Select all

<PARAM NAME=movie VALUE='/Oxford_Aviation_2010_October.swf'>
which makes it look in the document root
Post Reply