# Text to variable

**URL:** <https://forum.kirupa.com/t/text-to-variable/256866>\
**Category:** Uncategorized\
**Created:** [April 8, 2008, 7:38am UTC](https://forum.kirupa.com/t/text-to-variable/256866 "2008-04-08T07:38:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![22celin\_b](https://avatars.discourse-cdn.com/v4/letter/2/2acd7d/32.png) [@22celin\_b](https://forum.kirupa.com/u/22celin_b)\
**Post date:** [April 8, 2008, 7:38am UTC](https://forum.kirupa.com/t/text-to-variable/256866/1 "2008-04-08T07:38:56Z")

</div>

Hi,

This may be a really obvious question but does anyone know how to convert input text to a variable?

At the moment I have a textArea component and want to make the user’s input text a variable so I can use it later.

I can get a trace on the input text with “trace(mytext.text)” but I just don’t know how to make it a variable.

Any help would be greatly apprecaited.

Thanks

…Actionscript 2 by the way
