# Object life-time on the timeline

**URL:** <https://forum.kirupa.com/t/object-life-time-on-the-timeline/247570>\
**Category:** flash\
**Created:** [December 26, 2007, 4:20pm UTC](https://forum.kirupa.com/t/object-life-time-on-the-timeline/247570 "2007-12-26T16:20:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Extrakun](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/extrakun/32/2008_2.png) [@Extrakun](https://forum.kirupa.com/u/Extrakun)\
**Post date:** [December 26, 2007, 4:20pm UTC](https://forum.kirupa.com/t/object-life-time-on-the-timeline/247570/1 "2007-12-26T16:20:52Z")

</div>

Hi all,

Suppose I have a movie with three frames (intro, game and conclusion) and in the game frame, I have a movie-clip which has an external AS3 class. That movie clip uses the display list and add sprites/movie-clip to it for the game.

When I issue MovieClip(root).gotoAndStop(“gameover”), for instance, what happens?

1. The movie clip in the game frame is destroyed and all child mc/sprites are destroyed
2. The movie clip and its content remains intact

If it is case 1, are there anyway to safely remove the childs/mcs created by the external AS3 object?

If it is case 2, how do I prevent the destruction from taking place?

Thanks in advance!
