html - SWF not showing up when server is running -


i have simple html page loads swf using swfobject. if have 3 files in same folder when double-click html page in finder(mac) or windows explorer (windows) works fine.

however, when run tomcat or put on server, page blank. can see divs saying "hello" , "goodbye" should above , below, respectively, swf. , space correctly left swf itself; if change height 300 200 'goodbye' less far down 'hello'. more, if right-click space, shows me flash context menu -- zoom in, show all, play, loop, adobe flash player, etc. in other words swf appears there, it's blank -- white rest of page.

here's html code:

<!doctype html> <html> <head> <title>dynamic embed</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="swfobject.js"></script> </head> <body> <div>hello</div> <div id="mycontent">     <p>alternative content</p> </div> <div>goodbye</div> <script type="text/javascript">     swfobject.embedswf("snapshot.swf", "mycontent", "300",     "300",     "9.0.0"); </script> </body> </html> 

edit: added missing html, pointed out in comments. page tested did indeed have these elements included.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -