# Loadvariable()

**URL:** <https://forum.kirupa.com/t/loadvariable/294673>\
**Category:** Uncategorized\
**Created:** [August 18, 2009, 12:15pm UTC](https://forum.kirupa.com/t/loadvariable/294673 "2009-08-18T12:15:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfr1169](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sfr1169](https://forum.kirupa.com/u/sfr1169)\
**Post date:** [August 18, 2009, 12:15pm UTC](https://forum.kirupa.com/t/loadvariable/294673/1 "2009-08-18T12:15:23Z")

</div>

Aslam-o-Alikum

I want to load information from a Text file and then want to use in action script as a variable.What I did. I make a file with the name Text.txt and write there  
TextFld=You are Good Boy  
In flash I make a getText.fla in which i build a Text box at stage and set it to dynamic and the name of this variable is also TextFld Instance Name is Txt.  
Write the following code at main timeline  
loadVariables(“Text.txt”,\_root);

pretty fine it shows this information in flash but i want to use this variable in action script to do more action i.e i want to make flashy text. I want to store this information in a variable and then use that variable for other purpose.  
Thanks in Advance:)
