in reply to Re: Flash not displaying
in thread Flash not displaying

Maybe your 'connecting.swf' file should NOT be in the cgi-bin directory.

Of course this depends on your configuration, but here it looks like your http server is trying to execute the .swf before sending it out since it is located in cgi-bin.

Move it somewhere else (at the document root of your web server for example) and it should work just fine.

Replies are listed 'Best First'.
Re: Re: Re: Flash not displaying
by hossman (Prior) on Mar 11, 2002 at 08:17 UTC
    I would concur, your code says...

    print " <embed src=\"connecting.swf\" ...

    which means a browser is going to try an load connecting.swf out of the same directory as the URL of the page that has it embeded -- in your case /cgi-bin. But .swf files are not executable, and your webserver is complaining that connecting.swf can't be executed.

    Move the SWF to some other directory on your server, and refer to it with a URL relative to your CGI ("../../wakko/dot.swf") or relative to your docroot ("/yakko/wakko/dot.swf").

      Thanks, it appears you where right and it was trying to execute the .swf file from the cgi-bin and not embed it in the page.
      Chris