I just upgraded to krpano 1.0.8.12 (from 1.0.8.11), and started using "createPanoViewer()" instead of "new SWFObject()" which I had been happily using for a long time.
But now, strangely, the flash area is not covering the whole screen in Firefox and Opera. Even when I specify width and height to be 100%, the height is still only a fraction of the actual browser space (and different in each browser). Chrome and IE6 do use the full space, however.
(When I specify a height in pixels, then it does use that many pixels, but I need 100%, and it used to always work in all browsers.)
This is my code:
<script type="text/javascript">
// <![CDATA[
var viewer = createPanoViewer({swf:"/_swf/krpano/krpano.swf", id:"krpanoSWFObject", target:"panodiv", width:"100%", height:"100%"});
viewer.addVariable("xml", xml);
viewer.embed();
// ]]>
</script>
(In reality there are some more addVariables there, but even when I trim it down to the above, the problem remains.)
Is there a bug in the new swfkrpano.js (unlikely), or am I forgetting to do something (more likely)?