Layout Class (com.senocular.display.Layout)

hi,

i’m having some problems when using the class. It just won’t behave as it should, distorting the contents. I’ll pos the fla, plus code, plus swf…

[AS]stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

import com.senocular.display.Layout;

var SL:Layout = new Layout(stage);

// TOPBAR - align: top
var align_1:Layout = new Layout(topBar, true);
align_1.top = 0;
SL.addChild(align_1);

var align_2:Layout = new Layout(topBar.BGtop, true);
align_2.percentWidth = 1;
SL.addChild(align_2);

// TOPBAR - align: bot
var align_3:Layout = new Layout(botBar, true);
align_3.bottom = 0;
SL.addChild(align_3);

var align_4:Layout = new Layout(botBar.BGbot, true);
align_4.percentWidth = 1;
SL.addChild(align_4);

SL.draw();[/AS]

really can’t figure out what’s wrong here…
:stare:
thnks

am