Hello Jack,
I use LiquidWrapper to create a container for dynamically loaded swf pages, and use LiquidStage to keep the container of this pages well positionned on stage :
// load swf page
var tmp:MovieClip = new global_dump as MovieClip;
var global_container:LiquidWrapper = new LiquidWrapper(null, 1024, 767, "top", "center");
addChildAt (global_container, 1);
// if the global container needs stretching
if (Capabilities.screenResolutionY < 901)
{
LiquidStage.stretchObject (global_container, LiquidStage.TOP_LEFT, LiquidStage.BOTTOM_RIGHT, LiquidStage.BOTTOM_LEFT, true);
} else
{
LiquidStage.pinObject (global_container, LiquidStage.TOP_CENTER);
}
I re-size the navigator window and expand/maximize it.. the classes work just fine if the pages are in the range of 1024/767px, but, when i have a page generating some objects that exceeds the original height of the page 4000/767px, then do some resizing/expanding with navigator window, all I get is a tinny page : the container forces it self to be at 1024/767px even if it contains pages that exeeds this width/height.
i hope i explained it well
is it possible to modify the wrapper/liquidstage class so that it takes the original width/height of the page and stay stick to it no matter how the page width/height changes?
NB: I don't want to post the fla here, so, if you want to check this example and see what it gives; use the above code to create a container, load an swf page to that contaioner, add a 5 second timer that addes big movie clips to the same loaded page, then resize/expand the window, you will see that your original page is now mimic.
thanx for reading