dirtyprincess
06-05-2008, 10:40 AM
Even though there are 3 questions, everyone with a single answer is really welcome!
1 When a sound is loaded in to a flash movie, were is it stored during runtime?
2 I've seen it is possible to create a MC with predefined number of frames, is it possible to attach different sounds, and events to every single frame in this dinamically generated MC?
3 Is there a way to load multiple sounds by using an array and a loop?
I can't find a way to declare several sound objects with a loop like this:
var n:number = 0;
for(a=0;a<MyArray.length;a++){
var the_dinamically_generated_name:Sound = new sound();
}
1 When a sound is loaded in to a flash movie, were is it stored during runtime?
2 I've seen it is possible to create a MC with predefined number of frames, is it possible to attach different sounds, and events to every single frame in this dinamically generated MC?
3 Is there a way to load multiple sounds by using an array and a loop?
I can't find a way to declare several sound objects with a loop like this:
var n:number = 0;
for(a=0;a<MyArray.length;a++){
var the_dinamically_generated_name:Sound = new sound();
}