I’ve got something like this:
Tweener.addTween(captions.getChildByName(“captionLine_”+i),{x:0,time:5,transitio n:"linear,onComplete:ready})
function ready():void{
trace(“Ready!”)
}
How do I have to alter this, so that I can trace the name of sprite on which the tween has been applied to?
Some kind of event.target.name stuff, but how would the syntax need to look like?
Thanks in advance!
Cheers, Pancho