здрасьте, как можно создать прелоадер внутри класса для резинового сайта, а то до нескольких открытий флешки, объекты не стоят на нужных местах

Код AS3:
package {
import flash.display.*;
import FluidLayout.*;
public class Website extends MovieClip{
public function Website()
{
/* Set the Scale Mode of the Stage */
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
/* Add the symbols to stage */
var bg = new Background();
addChild(bg);
var rightline = new Rightline();
addChild(rightline);
var title = new Title();
addChild(title);
var menu = new Menu();
addChild(menu);
var middle = new Middle();
addChild(middle);
var footer = new Footer();
addChild(footer);
/* Apply the alignment to the background */
var bgParam = {
x:0,
y:0,
offsetX: 0,
offsetY: 8
}
new FluidObject(bg,bgParam);
/* Apply the alignment to the title */
var rightlineParam = {
x:1,
y:0,
offsetX:0,
offsetY:8
}
new FluidObject(rightline,rightlineParam);
/* Apply the alignment to the title */
var titleParam = {
x:0,
y:0,
offsetX:0,
offsetY:8
}
new FluidObject(title,titleParam);
/* Apply simple alignment to the title */
/*var titleParam = {
alignment: "TOP_LEFT",
margin: 0
}
new SimpleFluidObject(title,titleParam);*/
/* Apply the alignment to the menu */
var menuParam = {
x:1,
y:0,
offsetX: -menu.width - 17,
offsetY: 8
}
new FluidObject(menu,menuParam);
/* Apply the alignment to the content */
var middleParam = {
x:0.5,
y:0.5,
offsetX: -middle.width/2,
offsetY: -middle.height/2+20
}
new FluidObject(middle,middleParam);
/* Apply the alignment to the footer */
var footerParam = {
x:1,
y:1,
offsetX: 0,
offsetY: 0
}
new FluidObject(footer,footerParam);
}
}
}