Just finished building this web site and instead of placing a background in xhtml, I opted to place the background in flash, make it scale to the size of the browser window, but not scale the documents content.
That works fine, but here is my problem. The site was designed for 1024x768, but if the users window happens to be smaller, or not maximized - then the site gets cut off (no kidding). That would also be acceptable, but no scroll bars appear.
I tried to fix this by placing a div under the flash movie scaled too the min size of the document, and while it gives me the scroll bars when you do scroll, it is just white, the flash movie is not refreshing on scroll.
Thoughts and suggestions or even solutions are appreciated. Here is the code I am using to make the SWF 100% in the browser window:
// Control stage size without content resize.
Stage.scaleMode = "noScale";
_root.bgFull_mc._width = Stage.width;
_root.bgFull_mc._height = Stage.height;
var myListener:Object = new Object();
myListener.onResize = function() {
_root.bgFull_mc._width = Stage.width;
_root.bgFull_mc._height = Stage.height;
};
Stage.addListener(myListener);