# Image not loading externally

**URL:** https://forum.kirupa.com/t/image-not-loading-externally/119566
**Category:** Uncategorized
**Created:** [August 16, 2004, 2:08pm UTC](https://forum.kirupa.com/t/image-not-loading-externally/119566 "2004-08-16T14:08:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jive](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jive](https://forum.kirupa.com/u/jive)
#### Post date: [August 16, 2004, 2:08pm UTC](https://forum.kirupa.com/t/image-not-loading-externally/119566/1 "2004-08-16T14:08:14Z")

</div>

hey folks,

I’m doing a tutorial found here:

[http://www.flash-db.com/Tutorials/loading/loadingData.php?page=2](http://www.flash-db.com/Tutorials/loading/loadingData.php?page=2)

The problem I’m having is loading my .jpg image.

I’ve attached the .zip file with my .fla the .txt file and the .jpg image.

any ideas?

---

<div class="post-metadata">

### Author: ![JakeO](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@JakeO](https://forum.kirupa.com/u/JakeO)
#### Post date: [August 16, 2004, 11:06pm UTC](https://forum.kirupa.com/t/image-not-loading-externally/119566/2 "2004-08-16T23:06:54Z")

</div>

okay a few things wrong. the most obvious is your Actionscript:

myData = new LoadVars()  
myData.load(“anastasio.txt”)

you don’t even have a text file called anastasio.txt  
Your text file name is:  
loaddata.txt

so change your AS to:

myData = new LoadVars()  
myData.load(“loaddata.txt”)

then one more thing. Open loaddata.txt, you have:

Title=loading external data&Comments=This sure is a pain in the butt&Image=Bella\_eve3.JPG

that is fine and all but after Bella\_eve3.JPG you have a bunch of spaces or line feeds or something. Either take them out or change your text file to this:

&Title=loading external data&Comments=This sure is a pain in the butt&Image=Bella\_eve3.JPG&

it is always a good idea to put ‘&’ before and after the last variable in the text file so that flash does not read in extra whitespace.

After that it worked fine for me

-Jake
