# Getting undefined

**URL:** https://forum.kirupa.com/t/getting-undefined/198914
**Category:** Uncategorized
**Created:** [August 29, 2006, 4:37pm UTC](https://forum.kirupa.com/t/getting-undefined/198914 "2006-08-29T16:37:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![split67](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/split67/32/2089_2.png) [@split67](https://forum.kirupa.com/u/split67)
#### Post date: [August 29, 2006, 4:37pm UTC](https://forum.kirupa.com/t/getting-undefined/198914/1 "2006-08-29T16:37:29Z")

</div>

I have external .txt files that loads information into a defined area. It works fine through testing on my computer. Once uploaded, I’m getting an undefined in the fields where the information should appear.

The link:  
[http://www.shakeyhands.com/BunnyB/index.html](http://www.shakeyhands.com/BunnyB/index.html)  
click on the gallery link and choose an image. The text box reads “undefined”

Here’s the code i’m using to load the .txt file when a thumbnail is selected:

imageFrame.thumbSelected = function() {  
showImage(this.imagePath);  
loadText = new LoadVars();  
loadText.load(this.txt);  
loadText.onLoad = function() {  
model.text = this.model;  
colors.text = this.colors;  
sizes.text = this.sizes;  
};  
};

here’s the line of code I’m using to load the proper .txt file when selected:

thumbFrame.txt = “Data/gal1/1\_0”+x+".txt";
