# I want to pause Actionscript - not the timeline

**URL:** <https://forum.kirupa.com/t/i-want-to-pause-actionscript-not-the-timeline/226458>\
**Category:** Uncategorized\
**Created:** [May 21, 2007, 4:32pm UTC](https://forum.kirupa.com/t/i-want-to-pause-actionscript-not-the-timeline/226458 "2007-05-21T16:32:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darthmahon](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@darthmahon](https://forum.kirupa.com/u/darthmahon)\
**Post date:** [May 21, 2007, 4:32pm UTC](https://forum.kirupa.com/t/i-want-to-pause-actionscript-not-the-timeline/226458/1 "2007-05-21T16:32:57Z")

</div>

Hey,

I need to be able to pause actionscript I am calling, instead of pausing the timeline. The reason for this is that my movie is not using the timeline to decide how long to show/hide anything.

For example the first frame has a setInterval on it that delays the next frame for 3 seconds. During this time, I can have many items fade in/change etc by using Actionscript functions.

How can I pause the Actionscript functions themselves, and not just the frame I am on?

I can’t use .stop() as it won’t stop the function current running and I’ve tried all of the other methods.

Any help?
