# Dynamic text

**URL:** <https://forum.kirupa.com/t/dynamic-text/7734>\
**Category:** Uncategorized\
**Created:** [November 6, 2002, 5:26pm UTC](https://forum.kirupa.com/t/dynamic-text/7734 "2002-11-06T17:26:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jerry](https://forum.kirupa.com/u/jerry)\
**Post date:** [November 6, 2002, 5:26pm UTC](https://forum.kirupa.com/t/dynamic-text/7734/1 "2002-11-06T17:26:12Z")

</div>

Hello there! =)

Oki, here goes, I have a input textbox, and below this box I would like to have a dynamic textbox that “duplicates” whats written in the inputbox!

For example, when you type your name in the input box, the dynamic text box would follow, at the same time!

How can this be done!?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2002, 6:05pm UTC](https://forum.kirupa.com/t/dynamic-text/7734/2 "2002-11-06T18:05:33Z")

</div>

Thats simple!! Have the same variable name in the property inspector for both of them.

Hope this helps!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2002, 6:07pm UTC](https://forum.kirupa.com/t/dynamic-text/7734/3 "2002-11-06T18:07:54Z")

</div>

hehe… of course! THX m8! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2002, 6:09pm UTC](https://forum.kirupa.com/t/dynamic-text/7734/4 "2002-11-06T18:09:25Z")

</div>

For example:  
make the variable name of the input box “input”  
and make the variable name of the dynamic box “follower”  
now you can make a 2-frame-loop or assign the actions to a movieclip.  
if you assign the following actions to a movieclip then it should look something like this:

onClipEvent(enterFrame) {  
\_root.follower = \_root.input;  
}

To make a 2-frame-loop assign the actions:

\_root.follower = \_root.input;

to the first frame of your movie and make a new keyframe in frame to! and that’s it!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2002, 6:14pm UTC](https://forum.kirupa.com/t/dynamic-text/7734/5 "2002-11-06T18:14:40Z")

</div>

i wanted to answer this now:

```php
enter_btn.onRelease = function() {
  output1.text = input1.text;
}

```

sorry,

yours,  
h88
