I'm trying to loop through some objects, and I'm doing something wrong.

I'd like to do the following to some sound channel objects.

for (var n:Number = 0; n<5; n++) {
_root["sc" + n].stop();
}

Obviously, I can't do that in AS3, but that's what I want to do. The _root path is not important. I only added it because that syntax used to work in AS2. How can I loop through incrementing object names?

Thanks.