# Loader progress question

**URL:** <https://forum.kirupa.com/t/loader-progress-question/290793>\
**Category:** Uncategorized\
**Created:** [June 19, 2009, 5:25pm UTC](https://forum.kirupa.com/t/loader-progress-question/290793 "2009-06-19T17:25:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcabaco](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@tcabaco](https://forum.kirupa.com/u/tcabaco)\
**Post date:** [June 19, 2009, 5:25pm UTC](https://forum.kirupa.com/t/loader-progress-question/290793/1 "2009-06-19T17:25:47Z")

</div>

Hi

I have a class that pretty much loads content (swfs) out of a given array. On button click it preloads the content and then adds it to stage. Pretty standard loader thing there.

My problem is that when I click on one button and then click on another instead of stopping the previous loader it actually “adds” another and the two keep loading.

So my question is: Is there a way to IF a loder is in progress, first remove that listener and THEN start the new one?

Thanks in advance!
