I've been trying to get SWFObject 1.5 to work properly with Opera and FF for the past few hours (it works just fine with IE6), and still haven't had any luck, so hopefully someone out there will be able to help.
My actual SWFObject creation code is as follows:
var swf = new SWFObject("familyTree.swf", "familyTree", "100%", "100%", "8", "#ffffff");
With Opera and FF, the height of the SWF -- and only the height -- is incorrect. The width is properly set to 100%, and I can resize the browser window and the stageListener calls back into my onResize function as expected.
Under Opera, the .swf is only 1px in height. In FireFox, I'd say it's about 150px.
If I use a different percentage for the height (say, 50%), IE works fine, but Opera and FireFox do not change.
If I use a non-percentage fixed value for the height, it works correctly in all browsers. Unfortunately my Flash project requires resizing support, so using a fixed value is out of the question.
I've also updated to the latest versions of the Flash Player, Opera (now 9.21), and FireFox, just to make sure, but still no luck.
The actual HTML I am sending to the browser is not very complicated, and there is no CSS involved. About the only important thing I can think of is the body tag:
<body style="margin: 0px; background: #ffffff">
...but I'd hope that something like this would work fine.
If anyone has any suggestions, please let me know, as I'm really running out of ideas here. If anyone needs any other information from me, just ask.