# TweenEvent question

**URL:** https://forum.kirupa.com/t/tweenevent-question/298762
**Category:** flash
**Created:** [October 24, 2009, 8:05am UTC](https://forum.kirupa.com/t/tweenevent-question/298762 "2009-10-24T08:05:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Pancho](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@Pancho](https://forum.kirupa.com/u/Pancho)
#### Post date: [October 24, 2009, 8:05am UTC](https://forum.kirupa.com/t/tweenevent-question/298762/1 "2009-10-24T08:05:45Z")

</div>

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
