Hi
Been a while.
I am trying to combine TweenLite with some of my own functions. Now for testing i have this:
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});