# Puzzling me :/

**URL:** <https://forum.kirupa.com/t/puzzling-me/332268>\
**Category:** flash\
**Created:** [March 29, 2014, 6:04am UTC](https://forum.kirupa.com/t/puzzling-me/332268 "2014-03-29T06:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottiescotsman](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Post date:** [March 29, 2014, 6:04am UTC](https://forum.kirupa.com/t/puzzling-me/332268/1 "2014-03-29T06:04:45Z")

</div>

```auto
function playSong(e:MouseEvent):void{
channel = snd.play(pos);
songInfo.scrollingText.tf.text = (artist + " - " + songName).toUpperCase();
lineMetrics = songInfo.scrollingText.tf.getLineMetrics(0);
startX = lineMetrics.x;
wide = songInfo.scrollingText.tf.textWidth
TweenMax.to(songInfo.scrollingText, 4, {x:-wide, y:0, ease: Linear.easeNone, repeat:-1});

```

Works good but only shows the first letter in the  
songInfo.scrollingText.tf.text string

Any help please
