# Rying to reuse a loader, receiving an error

**URL:** <https://forum.kirupa.com/t/rying-to-reuse-a-loader-receiving-an-error/301128>\
**Category:** Uncategorized\
**Created:** [December 3, 2009, 7:29pm UTC](https://forum.kirupa.com/t/rying-to-reuse-a-loader-receiving-an-error/301128 "2009-12-03T19:29:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonder](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@bonder](https://forum.kirupa.com/u/bonder)\
**Post date:** [December 3, 2009, 7:29pm UTC](https://forum.kirupa.com/t/rying-to-reuse-a-loader-receiving-an-error/301128/1 "2009-12-03T19:29:52Z")

</div>

I want to reuse the same loader to cycle through a list of images that will be placed in a rotating banner. My code can be found here:

[http://www.copypastecode.com/16760/](http://www.copypastecode.com/16760/)

The error I am getting is the following:

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.  
at flash.display::Loader/\_load()  
at flash.display::Loader/load()  
at banner\_fla::MainTimeline/loadBanner()  
at banner\_fla::MainTimeline/loaded()

Is there anything that seems offensive in there?
