# removeChild on an MC from my library

**URL:** <https://forum.kirupa.com/t/removechild-on-an-mc-from-my-library/310909>\
**Category:** flash\
**Created:** [June 22, 2010, 6:27pm UTC](https://forum.kirupa.com/t/removechild-on-an-mc-from-my-library/310909 "2010-06-22T18:27:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Mo](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Post date:** [June 22, 2010, 6:27pm UTC](https://forum.kirupa.com/t/removechild-on-an-mc-from-my-library/310909/1 "2010-06-22T18:27:02Z")

</div>

Hi,

I have an MC that is called from my library when there is a specific error in my movie. My problem is that I cant manage to remove the movie clip when it is on the screen.

I have a errorclose\_mc button in the error mc (alert\_mc) that I want to remove the parent MC (alert\_mc)

The code below returns the error: 1120: Access of undefined property alert\_mc.
