# Extending the bottom of a dynamic text field

**URL:** <https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202>\
**Category:** Uncategorized\
**Created:** [May 13, 2008, 2:10pm UTC](https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202 "2008-05-13T14:10:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goeshen](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Goeshen](https://forum.kirupa.com/u/Goeshen)\
**Post date:** [May 13, 2008, 2:10pm UTC](https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202/1 "2008-05-13T14:10:59Z")

</div>

Hey everyone, I have this problem that has me scratching my head. For some reason I just can’t figure it out, and it seems like I’ve tried everything… like you’ve never heard that before. I’ve done searches via the forum and google and I’m just turing up empty. I have an input field that adds content to the dynamic text field, and when the content exceeds a certain length, scroll bars come into play. That works fine. The issue that I’m having is that when I extend the dynamic text field it does it from both top and bottom evenly. Thereby, moving the first entry down incrementally as more content is added. Is there a way to keep the top of the dynamic text field at a fixed position while only extending to the base? Any ideas welcome. Thanks.

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [May 13, 2008, 2:33pm UTC](https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202/2 "2008-05-13T14:33:41Z")

</div>

See the attached - is this what you’re looking for?

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Goeshen](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Goeshen](https://forum.kirupa.com/u/Goeshen)\
**Post date:** [May 13, 2008, 4:04pm UTC](https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202/3 "2008-05-13T16:04:17Z")

</div>

Thanks for the time, but no, that’s not really what I’m looking for. Let me try it this way, input text field takes content and inserts it to dynamic text field via a button. Now when dynamic text field has 10 or so entries, everything beyond 10 thats entered is never visible by the viewer. Now if I add this code to the button,

```php

btn1.onRelease = function() {
    dynamicTextfield._height += 10; 
}

```

it adds that to both the top and the bottom, and I’d like to add it just to the bottom.

Clear as mud?

Thanks,

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [May 13, 2008, 5:33pm UTC](https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202/4 "2008-05-13T17:33:00Z")

</div>

hmm, you could allways set in that that release function:

dyanmicTextField.\_y = 20;

20 being the \_y position you want to keep your textField at. Its weird that it would adjust the height from the center of the text field… what is your paragraph formatting set to - center justified, left or right? Do you have an FLA example you can post?

---

<div class="post-metadata">

**Author:** ![Goeshen](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Goeshen](https://forum.kirupa.com/u/Goeshen)\
**Post date:** [May 13, 2008, 8:05pm UTC](https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202/5 "2008-05-13T20:05:41Z")

</div>

Here’s a sample of the issue I’m having. I’ve actually tried setting the y position of the dynamic text field both within the onRelease of the button and within an onEnterFrame. Neither worked. The text field is formatted to left. Thanks again for your time.

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [May 14, 2008, 1:34am UTC](https://forum.kirupa.com/t/extending-the-bottom-of-a-dynamic-text-field/260202/6 "2008-05-14T01:34:00Z")

</div>

I peeked at your fla and probably won’t have time to help with this. I think I understand your problem - but its going to take integration into your scrollbar in order to solve. basically, when you add an item to your list, you’re going to have to trigger the scroll bar to respond accordingly - this can get tricky, but with some time its definitely possible.
