# Simple tweenlite oncomplete question, function isn't called?

**URL:** <https://forum.kirupa.com/t/simple-tweenlite-oncomplete-question-function-isnt-called/327898>\
**Category:** flash\
**Created:** [April 4, 2012, 2:51pm UTC](https://forum.kirupa.com/t/simple-tweenlite-oncomplete-question-function-isnt-called/327898 "2012-04-04T14:51:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [April 4, 2012, 2:51pm UTC](https://forum.kirupa.com/t/simple-tweenlite-oncomplete-question-function-isnt-called/327898/1 "2012-04-04T14:51:59Z")

</div>

Hi

Been a while.

I am trying to combine TweenLite with some of my own functions. Now for testing i have this:

```auto
function playGeb(indG):Void
{

	if (indG < 8)
	{
		clearInterval(restartG);
		gebArr[indG].play();
		checkG = setInterval(checkGeb, 2, indG);
	}
	else
	{
		trace("stop");
		//openingAnime();
		clearInterval(checkG);
		TweenLite.to(arrow_mc, 0.3 , {_x:118,_y:30,onComplete:hello});

	}
}
function hello(){
	trace("hello wordl");
}

```

but after the arrow is in place the function hello() isn’t been called.

How can i fix this??

ps: i already tried adding , onCompleteScope:this  
TweenLite.to(arrow\_mc, 0.3 , {\_x:118,\_y:30,onComplete:hello , onCompleteScope:this});
