Flash games run fine on other websites. But I noticed when loading a flash game with some code I made on localhost, the game makes FireFox use 99% resources. I have no idea why this could be Does anyone here know what could be wrong? It is not the game itself, as I'm trying out the same ones on other sites. Here is how I'm embedding it: <embed src="game.swf" width="500" height="500" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" flashvars="file=playlist.xml&autostart=true" /> Code (markup):