PDA

View Full Version : flash swf not loading through PHP



Sgtbaker84
August 6th, 2008, 10:18 PM
I have a navbar.php file that contains the code for the swf file and within every page that the nav bar needs to be in i have an INCLUDE that calls the nav bar file... The problem is that the SWF only loads on the index.php file but not on any of the other files...any ideas?

Navbar.php file:


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="894" height="20" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="menu.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.simplicityfillingsystems.com/flash/menu.swf" quality="high" bgcolor="#ffffff" width="894" height="20" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<br />
<br />


all other files on the server:


...

<body>
<div id="hwrap">
<div id="header"><img src="../images/header.jpg" width="894" height="131" alt="Welcome to Simplicity Filling Systems" /></div>

<?PHP INCLUDE ('../includes/navbar.php'); ?>

...

borrob
August 7th, 2008, 02:12 AM
looked at your site with opera 9 everything seems to work ok. Maybe a browser problem?

Sgtbaker84
August 7th, 2008, 12:50 PM
Thanks for the reply...it just might be that. I'm working with a crappy GOV computer for the time being and it only has IE6 installed (nothing else is allowed) and Flash player 7.

hl
August 7th, 2008, 05:08 PM
Thanks for the reply...it just might be that. I'm working with a crappy GOV computer for the time being and it only has IE6 installed (nothing else is allowed) and Flash player 7.

Shh, I'm Firefox right now on an equally crappy and limited computer. Portable Firefox, for the win.