How can I Remove Movie clip dynamicly

i have 3 movie clip and one button in my project. i want to hide movie clip by this way… but my code is not working. please guide me

m1_mc.onRelease = function (){ // first movie clip
mySselectedItem_txt.text = this._name;
}

m2_mc.onRelease = function (){ // 2nd movie clip
mySselectedItem_txt.text = this._name;
}

m3_mc.onRelease = function (){ // 3rd movie clip
mySselectedItem_txt.text = this._name;
}

myBtn_btn.onRelease = function = (){ // button

mySselectedItem_txt.text._visible = false   // textBox

}