Well I must say that I’ve tried everything I can think of, but can’t figure this one out. It works just fine on the local machine but not on the server.
There was one small bit of coding error, but that was not the problem.
There’s an extra </div> tag and the one to keep should be like this:
I tested by removing all the params and variables to see if that was causing any problems, tried a different version of swfobject, just couldn’t get it to work.
One thing that really seems odd on the Web downloaded version is the cursor turns to a hand pointer at the edge of the <div>, not just over the top of the continents, as it does on the local machine. For testing purposes I created a couple versions. Delete all files from your Temp Internet Folder and then download this page:
I set the background color to blue, and commented out all the params and variables, just to test that this line of code was working. The blue background shows just only until the whole swf has downloaded, then everything turns white. You can also see very clearly that the cursor changes at the edge of the div, not over the continents.
var swfObject = new SWFObject('world_map.swf', 'kartta', '636', '309', '8', '#0000ff');
There may be something else in the swf that prevents it from working on the server, I just don’t think it’s in the code as you posted it. You’d need access to the .fla to find out. My suggestion is that you talk to your friend who created the swf and see if he has any suggestions, I’m stumped.
If you do ever get this fixed, I’d really appreciate learning how you did it.