How to show last movie loaded?

I have the following script which loads my movies. What I would like to do is track which movie was previous loaded and pass that on to the movie that is preloading for use later on.


var newLoad = function (movie:String) {
 this.createEmptyMovieClip(movie,this.getNextHighestDepth());
 this[movie]._x = -188;
 this[movie]._y = -169;
 if (oldMovie == movie) {
 } else {
  this[movie].loadMovie(movie+".swf");
 }
 _global.oldMovie = movie;
};

Any suggestions or ideas?