hello all,

I'm trying to get around a problem I've been having with the sound object. I'd like to loop through a while statment and in that loop make a new sound object with a unique name. The problem is that it is not possible to use a variable when defining an object. For example, I wanted to do the following:

i = 0;
while (i < 10){

mySound = "_root.movieClip" + i;
eval(mySound) = new Sound("locationHere");
i++;

}

This doesn't work because of the eval() statment while creating the sound object. So, how can I make a list of sound objects without hardcoding them all?

marcus