# Removing movieclips problem

**URL:** <https://forum.kirupa.com/t/removing-movieclips-problem/212290>\
**Category:** Uncategorized\
**Created:** [January 9, 2007, 11:19pm UTC](https://forum.kirupa.com/t/removing-movieclips-problem/212290 "2007-01-09T23:19:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose3760](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jose3760/32/2887_2.png) [@jose3760](https://forum.kirupa.com/u/jose3760)\
**Post date:** [January 9, 2007, 11:19pm UTC](https://forum.kirupa.com/t/removing-movieclips-problem/212290/1 "2007-01-09T23:19:33Z")

</div>

Im having abit of trouble using removeMovieclip();

i have a little map, calles “button\_map”, that when pressed, the actual map appears  
(heres the code on the button\_map)

on(press){  
\_root.FirstB.attachMovie(“map”,“new\_map”,17);  
}

now, that works fine and it attaches my map where wanted. On my actual map, theres a button that says “close” on it, that when pressed should remove the map movie clip. butt i cant seen to get it to work.

any suggestions?
