# Brazilian bikini site..again! Getting undefined?

**URL:** <https://forum.kirupa.com/t/brazilian-bikini-site-again-getting-undefined/197271>\
**Category:** Uncategorized\
**Created:** [August 15, 2006, 2:16am UTC](https://forum.kirupa.com/t/brazilian-bikini-site-again-getting-undefined/197271 "2006-08-15T02:16:31Z")\
**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 15, 2006, 2:16am UTC](https://forum.kirupa.com/t/brazilian-bikini-site-again-getting-undefined/197271/1 "2006-08-15T02:16:31Z")

</div>

On the gallery page, I have external .txt files that load the 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/gallery01.swf](http://www.shakeyhands.com/BunnyB/gallery01.swf)

Here’s the code:

stop();

this.createEmptyMovieClip(“imageFrame”,10002);

imageFrame.thumbDepth = 1000;

imageFrame.xStart = 40;  
imageFrame.yStart = 40;

imageFrame.xGutter = 4;  
imageFrame.yGutter = 4;

imageFrame.imageWidth = 53;  
imageFrame.imageHeight = 80;

imageFrame.imageData = new LoadVars();

imageFrame.imageDisplayDepth = 55555;

imageFrame.thumbRollOver = function() { this.\_alpha = 99; };  
imageFrame.thumbRollOut = function() { this.\_alpha = 60; };

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;  
};  
};

//////////////////////////////////////////////////////////////////////////////////////////////////////////////  
imageLoadBar.\_visible = false;

function showImage(targetImage) {  
imageLoadBar.\_visible = true;  
imageLoadBar.\_yscale = 1;  
imageFrame.imageDisplay.\_alpha = 0;

```
createEmptyMovieClip("looper",Depth++);
looper.onEnterFrame = function() {
	if ( imageFrame.imageDisplay.getBytesLoaded() &gt; 0 ) {
		var percentLoaded = imageFrame.imageDisplay.getBytesLoaded()/imageFrame.imageDisplay.getBytesTotal();
		imageLoadBar._yscale = 100*percentLoaded;
		if ( imageFrame.imageDisplay.getBytesLoaded() == imageFrame.imageDisplay.getBytesTotal() ) {
			imageLoadBar._yscale = 100;
			imageFrame.onEnterFrame = function() {
				this.imageDisplay._alpha += 6;
				if ( this.imageDisplay._alpha &gt;= 99) {
					imageFrame.onEnterFrame = null;
				}
			};
			this.removeMovieClip();
		}
	}
};

```

//////////////////////////////////////////////////////////////////////////////////////////////////////////////   
imageFrame.imageDisplay.loadMovie(targetImage);  
}

imageFrame.createEmptyMovieClip(“imageDisplay”,imageFrame.imageDisplayDepth);  
imageFrame.imageDisplay.\_x = imageLoadBar.\_x = 400;  
imageFrame.imageDisplay.\_y = imageLoadBar.\_y = 21;

imageFrame.imageData.onLoad = function() {  
for ( var x = 1; x \<= this[“totalimages”];x++) {  
var tempPath = String(this[“image” + x]);  
var thumbPath = “images/gal1/” + tempPath + “s.jpg”;  
var imagePath = “images/gal1/” + tempPath + “l.jpg”;  
var thumbFrame = imageFrame.createEmptyMovieClip(“thumb” + x,imageFrame.thumbDepth++);  
var thumbHolder = thumbFrame.createEmptyMovieClip(“holder”,imageFrame.thumbDepth++);  
thumbFrame.holder.loadMovie(thumbPath);  
thumbFrame.\_x = imageFrame.xStart + ((imageFrame.imageWidth + imageFrame.xGutter)\*((x-1) % 4) );  
thumbFrame.\_y = imageFrame.yStart + (Math.floor((x-1)/4) \* (imageFrame.imageHeight + imageFrame.yGutter) );   
thumbFrame.imagePath = imagePath;  
thumbFrame.txt = “Data/gal1/1\_0”+x+".txt";  
thumbFrame.onRollOver = imageFrame.thumbRollOver;  
thumbFrame.onRollOut = imageFrame.thumbRollOut;  
thumbFrame.onRelease = imageFrame.thumbSelected;  
thumbFrame.\_alpha = 80;  
}

};

imageFrame.imageData.load(“images/gal1/images.txt”);
