# How to unload movie on root from child?

**URL:** <https://forum.kirupa.com/t/how-to-unload-movie-on-root-from-child/77260>\
**Category:** flash\
**Created:** [January 25, 2005, 10:54pm UTC](https://forum.kirupa.com/t/how-to-unload-movie-on-root-from-child/77260 "2005-01-25T22:54:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesO](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@JamesO](https://forum.kirupa.com/u/JamesO)\
**Post date:** [January 25, 2005, 10:54pm UTC](https://forum.kirupa.com/t/how-to-unload-movie-on-root-from-child/77260/1 "2005-01-25T22:54:33Z")

</div>

I’m loading a movie in externally. The external movie has a button to unload itself from the main movie. It loads into \_root.calContainer. The button is called xButton. This is the script that’s not working:

\_this.xButton.onRelease = function() {  
\_global.calContainer.unloadMovie;  
}

I’ve also tried. \_root.calContainer to no avail.
