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.