Greets, fellow flashers...

The question:

Is it possible to get the file name of the .swf that is playing on a certain level and load it into a variable?


The situation:

What I'm working on here is a "controller" .swf file that will sit on level 1 and control a series of .swfs that play on level 0... let's call them movie1.swf through movie10.swf.

What I'd like to do is enter the file names of the movies into an array in the controller file (ex: myMovies[0]="movie1.swf"; myMovies[1]="movie2.swf", then when the user clicks a "next movie" button, the the controller gets the name of the file playing on level0, checks the array for the file order, and then plays the next file on the list.

I understand that there are much easier methods of accomplishing this same effect, but without writing 50 pages of details, let's just say that if at all possible, this is the way I have to do it.


Thanks in advance!