Does anyone have experience using SWFObject (http://blog.deconcept.com/swfobject/) to embed flash? I have recently tried this method and have found that my page no longer displays as it should.
My original working site is at: http://www.nzography.com/.
It uses the Flash 8 publishing method to detect flash version and embed the swf. You can see that the black square is in the top left corner of the screen, and the map is centered.
My attempt at using SWFObject resulted in this: http://www.nzography.com/v2/.
This works fine in IE, but in Firefox you’ll see that the black square is no longer in the right place (if your screen is small you won’t see it at all!) and the map is not centered.
In both examples the exact same SWF file is used. For both the “salign” is set to top left. And they are both set to noscale.
The only difference I can see is the embed method, and the SWFObject method is not working properly! Any ideas of what could be causing this? It looks to me like it must be one of three things:
- The salign isn’t working properly
- The scale=“noscale” is not working
- The flash code is not properly reading stage width and height