# Tell Loader object to stop loading?

**URL:** https://forum.kirupa.com/t/tell-loader-object-to-stop-loading/262338
**Category:** flash
**Created:** [June 5, 2008, 7:25am UTC](https://forum.kirupa.com/t/tell-loader-object-to-stop-loading/262338 "2008-06-05T07:25:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![johnlouis](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/johnlouis/32/568_2.png) [@johnlouis](https://forum.kirupa.com/u/johnlouis)
#### Post date: [June 5, 2008, 7:25am UTC](https://forum.kirupa.com/t/tell-loader-object-to-stop-loading/262338/1 "2008-06-05T07:25:50Z")

</div>

how do I know if a Loader is loading something, and if it is, cancel/unload what it is doing and go back to it’s initial state…

---

<div class="post-metadata">

### Author: ![Felixz](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@Felixz](https://forum.kirupa.com/u/Felixz)
#### Post date: [June 6, 2008, 1:43pm UTC](https://forum.kirupa.com/t/tell-loader-object-to-stop-loading/262338/2 "2008-06-06T13:43:19Z")

</div>

call close() and put it in try {} catch (error:Error) {} if error is catched loaded wasn’t loading if not, loader was loading and it was stopped
