# How to detect when a movieclip leaves the stage completely?

**URL:** <https://forum.kirupa.com/t/how-to-detect-when-a-movieclip-leaves-the-stage-completely/252728>\
**Category:** Uncategorized\
**Created:** [February 22, 2008, 8:53pm UTC](https://forum.kirupa.com/t/how-to-detect-when-a-movieclip-leaves-the-stage-completely/252728 "2008-02-22T20:53:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingnimrod](https://avatars.discourse-cdn.com/v4/letter/k/b487fb/32.png) [@kingnimrod](https://forum.kirupa.com/u/kingnimrod)\
**Post date:** [February 22, 2008, 8:53pm UTC](https://forum.kirupa.com/t/how-to-detect-when-a-movieclip-leaves-the-stage-completely/252728/1 "2008-02-22T20:53:28Z")

</div>

I have a dynamic text field that scrolls like movie credits. The autosize is set to true so that the field will conform to the content that loads into it.

I want to put in a function that clears the motion interval once the movieclip containing the dynamic textfield leaves the stage.

What’s the easiest way to do it?
