[ic] Flash banner

Ryan Hertz interchange-users@interchange.redhat.com
Wed Mar 20 15:01:01 2002


At 01:19 PM 3/20/02 -0600, Rick Eicher II wrote:
>I am trying to put a flash banner on this site. But when I add the code and
>upload the flash movie it does not display a thing but it does not stop
>trying to load the page. When I do a view source on the page to make sure I
>have the code added to the right file I get this:
>
>################################################
>...snip......
><!---inventory.biz e --><OBJECT
>classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
>b#version=5,0,0,0" WIDTH=550 HEIGHT=100>
>  <PARAM NAME=movie VALUE="e-inventory.swf"> <PARAM NAME=loop VALUE=false>
><PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM
>NAME=bgcolor VALUE=#FFFFFF> <EMBED src="/inventory/images/e-inventory.swf"
>loop=false menu=false quality=high bgcolor=#FFFFFF  WIDTH=550 HEIGHT=100
>TYPE="application/x-shockwave-flash"
>PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
>Version=ShockwaveFlash"></EMBED>
></OBJECT>
><!---  &nbsp;<img src="/inventory/images/foundation//logo.gif"> OLD
>LOGO --->
>
>....snip.....
>###############################
>
>I have the movie uploaded to the images dir. And verified it on the server.
>
>The apache error log throws:
>
>[Wed Mar 20 14:18:48 2002] [error] [client 216.111.193.94] script not found
>or unable to stat: /var/www/cgi-bin/e-inventory.swf

         This is telling you that your generated HTML tells the browser to 
look for e-inventory.swf in the cgi-bin directory.  Apache says that either 
it can't run e-inventory.swf or it isn't there.  Since you didn't put it 
there, that means that it is the latter.

         So maybe change this line:
<PARAM NAME=movie VALUE="e-inventory.swf">
         To this:
<PARAM NAME=movie VALUE="/inventory/images/e-inventory.swf">

-r