I have a text file, called images.txt. Inside the text file it says:

&booya=DSC_1794.jpg

On the first frame of the movie, it says:

loadVariables("images.txt", _root);

On the second frame of the movie, it says:

loadMovie(booya, "thumb1");
trace(booya);
stop();


On both frame 1 and 2, there is a movie clip with the instance name of thumb1. There is also a dynamic text box with the variable name of booya.

The dynamic text box correctly reports the value of booya as being DSC_1794.jpg. However, the trace() command reports the value of booya as being undefined.

How can Flash MX think a variable is both full and empty at the same time? Needless to say, the image is not loading, which is the goal of this little exercise before I expand it to a Flash gallery template for the site I work on.


-Richard