View Full Version : while in Full Screen, Main stage resizing when loading an external swf

11-10-2010, 02:28 PM
I have an issue.

My main swf is 960x600 and loads full screen.
it is a projector or swf, local.
I have the code on frame 1 to ensure full screen and show all:
stage.scaleMode = StageScaleMode.SHOW_ALL;
stage.displayState = StageDisplayState.FULL_SCREEN;

Then I load an external swf into a mc, and it goes full screen as expected.
BUT the main swf that loaded that external one, at the time of load, suddenly gets scaled back down to its normal size: 960x600, on the top left corner of the Player Window (or the full screen), so somehow at 0,0.
Whn I unload the external swf, I can put the code
stage.scaleMode = StageScaleMode.SHOW_ALL;
to get it back to where it was.
But unfortunately I have some buttons from the Main swf that are supposed to be on top of the loaded one, and should stay where they are. But now they all move because of this scaling down.

the mc that is being used as a container for the loaded external swf is an empty mc located at 0,0.
The external swf has the same size as the main one: 960x600

I searched and tried things but could not get it to stay in show-all mode when loading this external swf...

driving me crazy...

I just hope there is a solution.
Thanks to all.