# Set interval with in a movie clip affectin buttons on main time line

**URL:** <https://forum.kirupa.com/t/set-interval-with-in-a-movie-clip-affectin-buttons-on-main-time-line/320833>\
**Category:** Uncategorized\
**Created:** [April 2, 2011, 11:31pm UTC](https://forum.kirupa.com/t/set-interval-with-in-a-movie-clip-affectin-buttons-on-main-time-line/320833 "2011-04-02T23:31:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kema](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@kema](https://forum.kirupa.com/u/kema)\
**Post date:** [April 2, 2011, 11:31pm UTC](https://forum.kirupa.com/t/set-interval-with-in-a-movie-clip-affectin-buttons-on-main-time-line/320833/1 "2011-04-02T23:31:56Z")

</div>

hi,  
i’m kema and i have a problem with the setInterval and clear Interval function with in a movieclip i created. the interval seems to still be running even though it is with in a movieclip and not on the main time line. how do i stop it from affecting the buttons on the main time line. i tried applying the clearInterval function to the button on the main time line but still no change. i would be very grateful if anybody can profer a solution to this problem,thank you very much.
