Publishing Image Problems

Hi everyone.
I’ve just completed my site and have tested it out many times with publish preview and have even published it and tested it out on my computer. Everything works fine. However, when I upload it to my server, everything works fine except the movie doesn’t load the dynamic jpegs (I am certain they are NOT progressive).

Here is my code:

Frame 1

_root.stop();
loadedVars = new LoadVars();
loadedVars.load("MiscVar.txt");
loadedVars.onLoad = function(success) {
_root.play();
};

Frame 2

 
// number of pictures... this variable can also be loaded from a text file...
NUMPHOTOS = Number(loadedVars.NUMPHOTOS);
// directory of photos
PHOTODIR = loadedVars.PHOTODIR;
// static portion of photo name
PHOTONAME = loadedVars.PHOTONAME;
// begin photos
// set variable that controls which picture I am looking at...
viewed = 1;
// mov the movieclip that will load the pictures off screen
// this keeps flash from getting hung up displaying while loading
_root.myAlbum["pic"+viewed]._y = 4000;
// functions to control navigation through album
// all you have to do is call these functions from a button
changeCaption = function (capNum) { var currCap = loadedVars["caption"+capNum];if (currCap == undefined) {_root.myCaption.text = "No Caption Available";} else {_root.myCaption.text = currCap;}};
nextPicture = function () { _root.myAlbum["pic"+viewed]._y = 4000;if (viewed == NUMPHOTOS) {viewed = 1;} else {viewed++;}_root.myAlbum["pic"+viewed]._y = 10;changeCaption(viewed);};
lastPicture = function () { _root.myAlbum["pic"+viewed]._y = 4000;if (viewed == 1) {viewed = NUMPHOTOS;} else {viewed--;}_root.myAlbum["pic"+viewed]._y = 10;changeCaption(viewed);};
// picture loading script
for (picCount=1; picCount<NUMPHOTOS+1; picCount++) {
var currPic = "pic"+picCount;
// create movieclip for the current picture being loaded
_root.myAlbum.createEmptyMovieClip(currPic, picCount);
// load picture into new movieclip
loadMovie(PHOTODIR+PHOTONAME+picCount+".jpg", _root.myAlbum[currPic]);
// move off stage to prevent flash from showing it
_root.myAlbum[currPic]._y = 4000;
}
 

Frame 4

// maximum dimensions of pictures
MAX_HEIGHT = Number(loadedVars.MAX_HEIGHT);
MAX_WIDTH = Number(loadedVars.MAX_WIDTH);
// goes through all pictures
for (picCount=1; picCount<NUMPHOTOS+1; picCount++) {
// variable link to current picture
var currPic = "pic"+picCount;
// movie clip containing the picture
var currMc = _root.myAlbum[currPic];
// picture's width
var currWidth = currMc._width;
// picture's height
var currHeight = currMc._height;
// if picture is higher than MAX_HEIGHT pixels
if (currHeight>MAX_HEIGHT) {
// scale down to fit
currMc._width *= MAX_HEIGHT/currHeight;
currMc._height *= MAX_HEIGHT/currHeight;
var currWidth = currMc._width;
var currHeight = currMc._height;
}
// if picture is wider than MAX_WIDTH pixels
if (currWidth>MAX_WIDTH) {
// scale down to fit
currMc._width *= MAX_WIDTH/currWidth;
currMc._height *= MAX_WIDTH/currWidth;
var currWidth = currMc._width;
var currHeight = currMc._height;
}
// if picture is narrow
if (currWidth<MAX_WIDTH/2) {
// move the picture so that it is roughly centered
currMc._x += 100;
}
}

Frame 5

 
// make the movie stop on this frame
_root.stop();
// place the first photo on stage
_root.myAlbum["pic"+viewed]._y = 10;
// change caption
changeCaption(viewed);
// if you do not have these buttons on stage, the navigation will not work
// use button _root.photoNext to go to the next photo
_root.photoNext.onRelease = function() {
nextPicture();
};
// use button _root.photoBack to go to the previous photo
_root.photoBack.onRelease = function() {
lastPicture();
};
// this for key press function
this.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
lastPicture();
} else if (Key.getCode() == Key.RIGHT) {
nextPicture();
}
};
Key.addListener(this);

And the MiscVar.txt looks like this:
NUMPHOTOS=4&
&PHOTODIR=misc/&
&PHOTONAME=misc&
&MAX_HEIGHT=450&
&MAX_WIDTH=338&
&caption1=This is caption 1&
&caption2=This is caption 2&
&caption3=caption3

It seems as though the problem is that the server is not accessing the misc/ folder. Would it make a difference if my server didn’t run PHP??? Any help would be greatly appreciated.