I have this mc that i would like to be deleted but the removeMovieClip function dosent seem to work on it.
I have this in the frame
// Location
loc=0;
function placeLoc() {
if(loc==0){
duplicateMovieClip(_root.location_mc,"location_mc",1);
_root.location_mc._x = _root.info_mc._x-10;
_root.location_mc._y = _root.info_mc._y+65;
loc=1
trace(loc)
}else if(loc==1){
loc=0
//clip to be deleted here
trace(loc)
}
}
and this in the button that displays the clip
on(press) {
_root.placeLoc();
}