Here is what I am trying to do…
I am going to have a single page, with a 6 minute sound clip looping (don’t ask - sort of a for-fun site I am doing at work). I have broken the clip down into 12 smaller clips to reduce file size, and I want to have a random clip play each time a user refreshes, but then have the clips play sequentially from wherever they start (e.g. randomly start with clip 10, then play 11, 12, 1, 2, etc.). I have created 12 different flash files, each with one of the sound clips.
I am using the randomize script found here, which is working fine:
On the last frame of each of the 12 files, I am loading the next movie. For example, clip 1 has:
Everything is working, except I want to have the next sequential sound clip loaded while the current clip is playing, so that the sound plays smoothly with no interruptions. Right now there is a slight pause between each clip.
I have looked through a lot of the pre-loader scripts and posts, but I don’t want to have any sort of obvious pre-loader if I can avoid it (no “loading” bar, etc.). I also was not sure whether I should be putting the code on the main file, or on each of the 12 files (which seems more likely).
If anyone could help, or point me to a previous post that might solve this, that would be great!
Also, if there is an easier way you can think of to do this, that would be great as well (the main reason I separated them into separate .swfs is because I thought it would load quicker when the user first gets to the page).