hello everyone…
how can i make this shorter…
my_mc1.onRelease = function (){
_root.currentItem1.swapDepths (300);
_root.currentItem1.removeMovieClip();
_root.currentItem1 = _root.middleStage.attachMovie("audio1", "audio1", 1);
}
my_mc2.onRelease = function (){
_root.currentItem1.swapDepths (300);
_root.currentItem1.removeMovieClip();
_root.currentItem1 = _root.middleStage.attachMovie("audio2", "audio2", 1);
}
my_mc3.onRelease = function (){
_root.currentItem1.swapDepths (300);
_root.currentItem1.removeMovieClip();
_root.currentItem1 = _root.middleStage.attachMovie("audio3", "audio3", 1);
}
my_mc4.onRelease = function (){
_root.currentItem1.swapDepths (300);
_root.currentItem1.removeMovieClip();
_root.currentItem1 = _root.middleStage.attachMovie("audio4", "audio4", 1);
}
please advice.
thanks.