I attach movie from library and place it on a fixed location of the stage. I want only 1 mc to be attached on stage and onPress any one of the buttons the previous mc will disppear and new attached mc replaced.
Like,
btn.onPress=function(){attachMovie(“cat”,“cat1”,0);cat1._x=20;cat1._y=150;}
btn1.onPress=function(){unloadMovie(“Previously appear mc”; attachMovie(“dog”,“dog1”,0);dog1._x=20;dog1._y=150;}
Please show me how ?