# Fullscreen problem

**URL:** <https://forum.kirupa.com/t/fullscreen-problem/310672>\
**Category:** Uncategorized\
**Created:** [June 16, 2010, 8:17am UTC](https://forum.kirupa.com/t/fullscreen-problem/310672 "2010-06-16T08:17:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wbmarkus](https://avatars.discourse-cdn.com/v4/letter/w/c37758/32.png) [@wbmarkus](https://forum.kirupa.com/u/wbmarkus)\
**Post date:** [June 16, 2010, 8:17am UTC](https://forum.kirupa.com/t/fullscreen-problem/310672/1 "2010-06-16T08:17:28Z")

</div>

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/](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](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.

```auto
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!
