# Remove child from other frames

**URL:** <https://forum.kirupa.com/t/remove-child-from-other-frames/324293>\
**Category:** Uncategorized\
**Created:** [August 12, 2011, 4:24pm UTC](https://forum.kirupa.com/t/remove-child-from-other-frames/324293 "2011-08-12T16:24:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![littlerach](https://avatars.discourse-cdn.com/v4/letter/l/6de8d8/32.png) [@littlerach](https://forum.kirupa.com/u/littlerach)\
**Post date:** [August 12, 2011, 4:24pm UTC](https://forum.kirupa.com/t/remove-child-from-other-frames/324293/1 "2011-08-12T16:24:56Z")

</div>

Hi Everyone,

I have a slideshow that you can click to go to various frames with different images. I’m doing this with a loader. Problem is, once you click on a button and the image loads, the image stays there when you go to a different frame and different image. I’ve tried removing the child at the beginning of a new frame, but that doesn’t seem kosher. I know this code is not the cleanest it could be, but bear with me. Please take a peek at my attached file.

Thanks for your help, 🙂  
R
