I’ve trying to find a solution for a fullscreen bug.
Here is a picture showing the “reel” in normal mode:
http://yfrog.com/f/1qmainixj/
When I press the magnifying glass the middle picture should go fullscreen.
But this is what happens: http://yfrog.com/3mfullscreenweirdsplitj
As you can see, a part of the left pic is showing as well. Depending on what
resolution im on the pictures are shown differently but never with correct fullscreen for the middle picture.
I’m attaching some of the code here where I’m guessing the problem might be.
private function fullScreenHandler(event:FullScreenEvent):void {
selectedData.fullScreenImages = event.fullScreen;
menu.reset();
Fx.fade(menu, 1);
}
private function resizeHandler(event:Event = null):void {
if(stage.displayState == StageDisplayState.FULL_SCREEN) {
container.scaleX = container.scaleY = 1;
container.x = 0;
menu.x = Math.round(stage.stageWidth * 0.5 - menu.width * 0.5);
items.scaleX = stage.stageWidth / 480;
items.scaleY = items.scaleX;
items.x = 0 - stage.stageWidth;
items.y = stage.stageHeight * 0.5 - items.height * 0.5;
items.setSize(stage.stageWidth, 370);
menu.y = stage.stageHeight - 46;
header.visible = false;
leftCaseButton.visible = false;
rightCaseButton.visible = false;
}
else {
var originalWidth:Number = 481 * 3;
menu.x = Math.round(originalWidth * 0.5 - menu.width * 0.5);
items.scaleX = 1;
items.scaleY = 1;
items.x = 0;
items.y = 25;
items.setSize(481*3, 370);
Any kind of help would be deeply appreciated!