Problem containing 4 .SWF's on site

Hey all,

I’ve got a problem with containing properly the .swf on my (main menu) site. Because the external .SWF’s got a parralax effect it overlaps the swf above also the .swf is not nicely stretched out. This is the effect on my site that I want www.seniorict.com but as you look at the zip/fla(menu test) you see the complete file and how the effects are not working well.

code is

[AS] stop();
var swfs:Array = new Array(“home”, “kandidaten”, “opdrachtgevers”, “contact”);
var loaders:Array = new Array();
function setLoaderSize(i:uint):void {
loaders*.y = stage.stageHeight / swfs.length * i;
loaders*.scaleY = 1 / swfs.length;
}
for (var i:uint = 0; i < swfs.length; i++) {
loaders* = new Loader();
loaders*.load(new URLRequest(swfs* + “.swf”));
setLoaderSize(i);
addChild(loaders*);
}
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, resizeHandle);
function resizeHandle(e:Event):void {
for (var i:uint = 0; i < swfs.length; i++) {
setLoaderSize(i);
}
}
[/AS]
Any help is greatly appreciated!:wink: