I’m trying to load a bunch of mp3’s as sound objects with code. Here’s what I thought would work,
//create an array of mp3's to load
mp3s = ['3-1.mp3','3-2.mp3','3-3.mp3','3-4.mp3','3-5.mp3','3-6.mp3','3-7.mp3','3-8.mp3','3-9.mp3','3-10.mp3','3-11.mp3']
//create a sound object for each movie clip
for(i=0;i<mp3s.length;i++){
_root."narr"+i = new Sound();
_root["narr"+i].loadSound(mp3s*);
}
But flash doesn’t like the _root.“narr”+i part. How do I do this properly?
Thanks,
Jake