loadMovie med delay...?

hey all…

Im making a flash projekt with a “as” folder and a “fla” folder… and in the root the index.fla are placed.

in the “fla” folder all my fla’s are placed. Im going to load them into the scene [FONT=VERDANA][SIZE=2]through the index.as from the “as” folder…[/SIZE][/FONT]

[FONT=VERDANA][SIZE=2]my index.as [FONT=VERDANA][SIZE=2]contains:[/SIZE][/FONT][/SIZE][/FONT]

[FONT=VERDANA][SIZE=2]//loading swfer
_root.createEmptyMovieClip(“bg”,1);
_root.bg._x=0;
_root.bg._y=0;
_root.bg.loadMovie(“fla/bg.swf”);
[/SIZE][/FONT]

[FONT=VERDANA][SIZE=2]and that works… :smiley: [/SIZE][/FONT]

[FONT=VERDANA][SIZE=2]but if a willl load my (“fla/logo.swf”) which the same code (and change the level) the logo are loding first, because its teen times smaller than the (“fla/bg.swf”)…:look: … by the way I have preloader in all the swf’s[/SIZE][/FONT]

[FONT=VERDANA][SIZE=2]In the (“fla/bg.swf”) there is a animation from frame 1 to 10… and I will load the (“fla/logo.swf”) when the (“fla/bg.swf”) hit frame 10…[/SIZE][/FONT]

instead of placing the code (createEmptyMovieClip…) in frame 10 of the (“fla/bg.swf”), I will place it in the index.as file… but HOW…:q:

I [FONT=VERDANA][SIZE=2]guess the it will look like:
[/SIZE][/FONT]
[FONT=VERDANA][SIZE=2]//loading swfer
_root.createEmptyMovieClip(“bg”,1);
_root.bg._x=0;
_root.bg._y=0;
_root.bg.loadMovie(“fla/bg.swf”);
[/SIZE][/FONT]

loaded = function (){
if (“fla/bg.swf” loaded){
_root.createEmptyMovieClip(“logo”,2);
_root.logo._x=0;
_root.logo._y=0;
_root.logo.loadMovie(“fla/bg.swf”);
}
}

[FONT=VERDANA][SIZE=2]:huh: ??? [/SIZE][/FONT]
or how do I make a delay of loading the swf’s…?
[FONT=VERDANA][SIZE=2]
[/SIZE][/FONT]