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 !