# Loading vars into an mc

**URL:** <https://forum.kirupa.com/t/loading-vars-into-an-mc/34689>\
**Category:** flash\
**Created:** [November 5, 2003, 6:51am UTC](https://forum.kirupa.com/t/loading-vars-into-an-mc/34689 "2003-11-05T06:51:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rave\_t](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rave\_t](https://forum.kirupa.com/u/rave_t)\
**Post date:** [November 5, 2003, 6:51am UTC](https://forum.kirupa.com/t/loading-vars-into-an-mc/34689/1 "2003-11-05T06:51:40Z")

</div>

I want to load some text into a dynamic text field and then apply some effects on each letter. How is that possible?

---

<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 5, 2003, 8:01am UTC](https://forum.kirupa.com/t/loading-vars-into-an-mc/34689/2 "2003-11-05T08:01:02Z")

</div>

im not sure how you would make each letter different but what u need to do is give the text field a variable name like “text” or whatever then just place the code:  
\_root.text = “whatever text you want”

---

<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 5, 2003, 5:44pm UTC](https://forum.kirupa.com/t/loading-vars-into-an-mc/34689/3 "2003-11-05T17:44:02Z")

</div>

Yes, that i know but i want to apply an effect on each letter. And I’m loading the text from a textfile.

Maybe i have to separate the text into an array with one letter in each index but how can i do that??

---

<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 5, 2003, 8:44pm UTC](https://forum.kirupa.com/t/loading-vars-into-an-mc/34689/4 "2003-11-05T20:44:54Z")

</div>

take a look at these threads

[http://www.kirupaforum.com/forums/search.php?s=&action=showresults&searchid=186848&sortby=lastpost&sortorder=descending](http://www.kirupaforum.com/forums/search.php?s=&action=showresults&searchid=186848&sortby=lastpost&sortorder=descending)

scotty(-:
