Hi all,
I posted a similar thread about a week ago. Tnx for your reply wangbar. But now I have to go a step further:
I had a mp3-Loop designed for my website. It was made in a way, that it could be split into 8 parts and played at random order. As even the parts are too big (for an analog modem), I want to load them externally. What I want is the following:
1. 1.mp3 is loaded. Once finished loading it will be played.
2. firstSound (1.mp3) will be played while 2.mp3 (secondSound) is loaded.
3. As soon as the secondSound is loaded, the two sounds will be played at random order, while the third loads...
4. As soon as the thirdSound is loaded, the three sounds will be played at random order, while the fourth loads...
5. - 9. According to step 3 and 4 until all 8 files are loaded.
The loading of the files seems to be ok. It loads firstSound, plays it until secondSound is loaded and then randomizes between the two. The problem is, as soon as secondSound is completed, it stops. The secondSound.onSoundComplete 'handler' seems not to be excecuted - although it was created with copy&paste from firstSound.onSoundComplete 'handler'. I stopped right here. It doesn't make sense developping on, while this problem
remains.
Here is how it looks right now and the fla-file to download.
I'd be greatful for help.
Adrian
I posted a similar thread about a week ago. Tnx for your reply wangbar. But now I have to go a step further:
I had a mp3-Loop designed for my website. It was made in a way, that it could be split into 8 parts and played at random order. As even the parts are too big (for an analog modem), I want to load them externally. What I want is the following:
1. 1.mp3 is loaded. Once finished loading it will be played.
2. firstSound (1.mp3) will be played while 2.mp3 (secondSound) is loaded.
3. As soon as the secondSound is loaded, the two sounds will be played at random order, while the third loads...
4. As soon as the thirdSound is loaded, the three sounds will be played at random order, while the fourth loads...
5. - 9. According to step 3 and 4 until all 8 files are loaded.
The loading of the files seems to be ok. It loads firstSound, plays it until secondSound is loaded and then randomizes between the two. The problem is, as soon as secondSound is completed, it stops. The secondSound.onSoundComplete 'handler' seems not to be excecuted - although it was created with copy&paste from firstSound.onSoundComplete 'handler'. I stopped right here. It doesn't make sense developping on, while this problem
remains.
Here is how it looks right now and the fla-file to download.
I'd be greatful for help.
Adrian