# How to remove this dynamically loaded thing?

**URL:** <https://forum.kirupa.com/t/how-to-remove-this-dynamically-loaded-thing/317689>\
**Category:** flash\
**Created:** [December 30, 2010, 5:19am UTC](https://forum.kirupa.com/t/how-to-remove-this-dynamically-loaded-thing/317689 "2010-12-30T05:19:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)\
**Post date:** [December 30, 2010, 5:19am UTC](https://forum.kirupa.com/t/how-to-remove-this-dynamically-loaded-thing/317689/1 "2010-12-30T05:19:52Z")

</div>

Hi

sorry I couldn’t find a better title =/  
so with Loader’s contentLoaderInfo.applicationDomain.getDefinition, I dynamically loaded a class that’s attached to its .fla  
now I created three instances of that class and added them to the stage. But after a trace (inside the constructor) I see that there are actually 4 instances of that class, 3 of them that I just added, and one of them (not on the stage) that’s apparently created by getDefinition (correct me if I’m wrong)

so in the trace window I actually see 4 results. My question is, how do I remove the one that’s not on the stage? I need to do some stage-related stuff with my 3 instances and I don’t want the other one to interfere.

Thanks
