# Width of text on the last line of multiline text field

**URL:** <https://forum.kirupa.com/t/width-of-text-on-the-last-line-of-multiline-text-field/260242>\
**Category:** flash\
**Created:** [May 13, 2008, 7:20pm UTC](https://forum.kirupa.com/t/width-of-text-on-the-last-line-of-multiline-text-field/260242 "2008-05-13T19:20:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nlyttle](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nlyttle](https://forum.kirupa.com/u/nlyttle)\
**Post date:** [May 13, 2008, 7:20pm UTC](https://forum.kirupa.com/t/width-of-text-on-the-last-line-of-multiline-text-field/260242/1 "2008-05-13T19:20:38Z")

</div>

I think this has been solved here:  
[http://www.actionscript.org/forums/showthread.php3?t=90797](http://www.actionscript.org/forums/showthread.php3?t=90797)

However, when I paste that into Flash I get an error that says: “Attribute used outside class”. Can anyone help me figure out why that’s happening… or offer a better solution for what I need to accomplish.

Ultimately, I’m trying to place a Quote MovieClip to the end of the last character in the last line of a dynamic text field.

Thanks.
