# Loadvariables

**URL:** <https://forum.kirupa.com/t/loadvariables/143952>\
**Category:** Uncategorized\
**Created:** [April 10, 2005, 11:45am UTC](https://forum.kirupa.com/t/loadvariables/143952 "2005-04-10T11:45:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lippuzz\_](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@Lippuzz\_](https://forum.kirupa.com/u/Lippuzz_)\
**Post date:** [April 10, 2005, 11:45am UTC](https://forum.kirupa.com/t/loadvariables/143952/1 "2005-04-10T11:45:14Z")

</div>

I found a script which loads text from a TXT file. Nou the code workd fine on a button, but assoon i putt that code on a MC it doesn’t load the variables properly. That meas; i don’t any script errors, but the text doesn’t appera in the dynamic texterea

```auto

on (release) {
	loadVariables ("document1.txt", "");
mytext.scroll=x
}

```

now i want this script to work on a MC!  
Anybody who can help me?
