Dynamic Embed Loop

I’m aware that embed works when compiling and not at runtime. Is there any way to have a loop within the class of a document that will embed dynamic content? I have embedded a master file list which will contain all of the map names and am looking for a way to embed the files which are present in this master list via a for loop within the class. I feel it is easier to do it this way as I won’t have to type in the names for every new map I add into the swf, but rather edit the master file and recompile the swf.

Any help would be appreciated.