CreatyEmptyMovieClip?

On my main stage I have two buttons that I will use to load
2 different MC´s with (Flash MX) !!

My Code used on the same frame as Button1 is:

but.onPress = function () {
_root.createEmptyMovieClip(“container”, 1);
loadMovie(“1.swf”, “container”);
container._x = 12 ;
container._y = 241 ;
}

My Code used on the same frame as Button2 is:

but.onPress = function () {
_root.createEmptyMovieClip(“container”, 1);
loadMovie(“2.swf”, “container”);
container._x = 12 ;
container._y = 241 ;
}

Whats wrong here ? I tried to change button2 to be loaded on level 2 didn´t work either !

the number i have put here in bold should be 2 not 1 your loading it to level 1

but.onPress = function () {
_root.createEmptyMovieClip(“container”, 1);
loadMovie(“2.swf”, “container”);
container._x = 12 ;
container._y = 241 ;

Grim

but.onPress <-- is for both insdtances of the code, that means you are only assigning this to one button and not two

plus you need a different name ans a different depth