I have set my stage at 1920 x 1440 with a background bitmap that matches that size. The aspect ratio of my stage/bitmap is 4:3.
When I run my Flash website on a legacy 4:3 monitor set at 1024x768, the top and bottom portions of the stage image are truncated. The remaining part of the displayed picture has an exact aspect ratio of 16:9.
So, my questions are:
1) Does full screen (as shown in my code below) mode work as 16:9 ratio by default?
2) How to make sure I get my full stage image to display fully?
========================================================================================== ================
// What to do when the full-screen buttons are clicked
// ----------------------------------------------------
function clickFullScrn(e:MouseEvent):void
{
if (stage.displayState == "fullScreen")
{
stage.displayState = "normal";
stage.fullScreenSourceRect = null;
}
else
{
stage.fullScreenSourceRect = new Rectangle(0,0,workAreaW,workAreaH);
stage.displayState = "fullScreen";
}
}
FullScrnBtn.addEventListener(MouseEvent.CLICK, clickFullScrn);
// create an instance of an off-list button;
var normScrnBtn:SimpleButton = new DownArrow();
normScrnBtn.alpha = .85;
normScrnBtn.x = fullScrnInitX;
normScrnBtn.y = fullScrnInitY;
normScrnBtn.visible = false;
addChildAt(normScrnBtn, 1);
normScrnBtn.addEventListener(MouseEvent.CLICK, clickFullScrn);
// ---------------------------------------------------;