# Big problem with TextField formating

**URL:** <https://forum.kirupa.com/t/big-problem-with-textfield-formating/283035>\
**Category:** Uncategorized\
**Created:** [March 1, 2009, 9:12pm UTC](https://forum.kirupa.com/t/big-problem-with-textfield-formating/283035 "2009-03-01T21:12:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vedran1](https://avatars.discourse-cdn.com/v4/letter/v/e9c0ed/32.png) [@vedran1](https://forum.kirupa.com/u/vedran1)\
**Post date:** [March 1, 2009, 9:12pm UTC](https://forum.kirupa.com/t/big-problem-with-textfield-formating/283035/1 "2009-03-01T21:12:33Z")

</div>

i have TextField with this properties:

description\_txt.width = 270;  
description\_txt.multiline = true;  
description\_txt.wordWrap = true;  
description\_txt.text = \_descriptionText;  
description\_txt.height = 400;

then i try to align scrollbar arrows next to the description\_txt field.

upArrow.y = description\_txt.y;  
downArrow.y = description\_txt.y+description\_txt.height;

i use scrollV += 1; method for scrolling text…  
my problem is how to get the y of the last visible line of text ([bottomScrollV](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#bottomScrollV)) and then align downArrow to it. Or maybe another solution, how to format textField that it’s bottom border jumps just beneth last visible text line, then i’ll just allign arrow to this position.

i use this method for scroling couse i dont like scroling TextField in the Sprite, sometimes it just cuts type on the last line and that looks ugly…

here is the picture of that situation  
[http://vedran.webfactional.com/kontenjner/Picture%204.png](http://vedran.webfactional.com/kontenjner/Picture%204.png)

thnx!
