# Removechild after tweenlite does not really work

**URL:** <https://forum.kirupa.com/t/removechild-after-tweenlite-does-not-really-work/325371>\
**Category:** Uncategorized\
**Created:** [October 11, 2011, 11:49pm UTC](https://forum.kirupa.com/t/removechild-after-tweenlite-does-not-really-work/325371 "2011-10-11T23:49:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drpelz](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@drpelz](https://forum.kirupa.com/u/drpelz)\
**Post date:** [October 11, 2011, 11:49pm UTC](https://forum.kirupa.com/t/removechild-after-tweenlite-does-not-really-work/325371/1 "2011-10-11T23:49:09Z")

</div>

Hello folks,

I’d like to remove objects via removeChild after Tweenlite has finished tweening. But it doesn’t really work because my objects are still in the DisplayList. I can’t figure out the problem so I would be very happy if someone could help me out with this problem. Thanks in advance.🙂

```auto

//TweenLite.to(sndText, .5, {alpha:0, onComplete:removeChild, onCompleteParams:[sndText]});//does not really work; still in DisplayList

TweenLite.to(sndText, .5, {alpha:0});
TweenLite.to(musicText, .5, {alpha:0});
TweenLite.to(sndSlider, .5, {alpha:0});
TweenLite.to(musicSlider, .5, {alpha:0});
TweenLite.to(okBtn, .5, {alpha:0});
TweenLite.to(sndMinus, .5, {alpha:0});
TweenLite.to(sndPlus, .5, {alpha:0});
TweenLite.to(musicMinus, .5, {alpha:0});
TweenLite.to(musicPlus, .5, {alpha:0, onComplete:removeSettings});
					
//removeChild(sndText); //this works but I don't know why

```

```auto
	
override public function removeSettings():void {
			
	//removeChild doesn't really work (still in DisplayList) 
	removeChild(sndText);
	removeChild(musicText);
	removeChild(sndSlider);
	removeChild(musicSlider);
	removeChild(okBtn);
	removeChild(sndMinus);
	removeChild(sndPlus);
	removeChild(musicMinus);
	removeChild(musicPlus);
						
}

```
