# Read variables from inputText?

**URL:** <https://forum.kirupa.com/t/read-variables-from-inputtext/190388>\
**Category:** flash\
**Created:** [June 11, 2006, 9:25am UTC](https://forum.kirupa.com/t/read-variables-from-inputtext/190388 "2006-06-11T09:25:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ophyr](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@Ophyr](https://forum.kirupa.com/u/Ophyr)\
**Post date:** [June 11, 2006, 9:25am UTC](https://forum.kirupa.com/t/read-variables-from-inputtext/190388/1 "2006-06-11T09:25:07Z")

</div>

I was wondering if anyone knows wether it’s possible to create variables from text inside an inputText.

Example -\> if I put the text “bDead = false” inside an inputBox, and I press some button, the variable bDead is created and initialized with “false”.

I tried loadVariables with the box.text as a parameter, but I guess it expects a link to some file instead of a text…
