Hello all,
Trying to get liquidStage to work correctly. When I try to resize the objects in with the the liquidArea snap to different dimensions sporadically.
Below is a link show the site I am working on. If you click on any of the items form the dropdown and then resize you will that that the objects, both he navigation bar and the content loading at the bottom don't resize with the liquidArea.
Also, you will notice in the code below that I am using the same liquidState object for 2 liquidAreas. The area2 is for green bg.
http://f56k.com/clients/gigantic/achenson/
Hope anyone can point me in the right direction. Thank you in advance.
private function liquidStateMethod():void
{
ls = new LiquidStage(this.stage, 1000, 670, 500, 500);
area1 = new LiquidArea(this,0, 0, 960, 670, 0xFF0000);
//_masterContainer contains the navigation bar and the content loader.
area1.attach(_masterContainer, ScaleMode.PROPORTIONAL_INSIDE, AlignMode.CENTER,AlignMode.TOP,500,960);
area2 = new LiquidArea(this,0, 0, 960, 660, 0xFF0000);
area2.attach(_BG, ScaleMode.PROPORTIONAL_INSIDE,AlignMode.LEFT,AlignMode.TOP,500,960);
ls.addEventListener(Event.RESIZE, onLiquidStageUpdate);
}
function onLiquidStageUpdate(event:Event):void
{
_BG.width = stage.stageWidth
//area1.updatePins();
}