Full browser slideshow snaps back to original scale on image change

I was wondering if anyone could take a peak. I have a document class, from which I load a background slideshow swf. I’m trying to get the background swf, (which is a swf named “slideshow” inside of a mc container called ‘box’) to fill the browser. Upon resize, the holder dutifully fills the browser. If the slideshow is on image 1 say, and I drag the window, the slideshow while it is still on image 1 will adjust to fill the browser size. But, when the slideshow fades to image 2, the image ‘snaps’ back to the original dimensions, letting the viewer see the stage. Anyone want to take a peek? I don’t know if this is a problem, but if you preview the slideshow swf independently, it does indeed scale to fill the browser on resize and stays that way for the duration of the show.

The relevant code is as follows:


//add background swf
        private function initBox(): void {
            var box:MovieClip = new MovieClip();
            addChildAt(box, 0);
            var swfLoader:Loader = new Loader();
            swfLoader.load(new URLRequest ("slideshow.swf"));
            box.addChild(swfLoader);
            
            
            var g2:Graphics = box.graphics;
            g2.beginFill(0x259ebb, 1);
            g2.drawRect(0, 0, 1024, 768);
            box.width = stage.stageWidth;
            box.height = stage.stageHeight;
            box.y = 0;
            box.x = 0;
        }
        
        public function MySite() {
            addEventListener(Event.ADDED_TO_STAGE, ini, false, 0, true);
        }
        private function ini(e:Event):void {
            removeEventListener(Event.ADDED_TO_STAGE, ini);
            stage.addEventListener(Event.RESIZE, resizeListener); 
        
            box.x = stage.stageWidth/2;
            box.y = stage.stageHeight/2;
            resizeListener(null);
        }
        private function resizeListener(e:Event):void {
           trace("stageWidth: " + stage.stageWidth + " stageHeight: " + stage.stageHeight);
                box.x = stage.stageWidth/box.width/2;
                box.y = stage.stageHeight/box.height/2;

        }

thank you,
R