Short version: I have one .swf template with a small bit of code, and ~3000 wav files, each of which needs to be attached to this template. I'm looking for a way to automate this process.
Long version: I have a template that consists of a small .jpg of a speaker, with code that plays a .wav file on load and on click. That code is as follows:
OnLoad(){
playSound("WAV_1.wav");
}
on (press){
playSound("WAV_1.wav");
}
I also have about 3000 .wav files. What I am trying to do is find a way (application, scripting, or anything really) to automate putting each of these .wavs into the above template, and exporting a .SWF of each, with the same filename as the .wav file. In other words, if I had only two .wav files, "SoundOne.wav" and "SoundTwo.wav", I want something that will automatically create "SoundOne.swf" and "SoundTwo.swf", with the corresponding .wav file imported into the template code.
The Flash dev applications I have are SWiSHmax and Adobe CS3. Does anyone have any ideas? Any advice is appreciated!
Long version: I have a template that consists of a small .jpg of a speaker, with code that plays a .wav file on load and on click. That code is as follows:
OnLoad(){
playSound("WAV_1.wav");
}
on (press){
playSound("WAV_1.wav");
}
I also have about 3000 .wav files. What I am trying to do is find a way (application, scripting, or anything really) to automate putting each of these .wavs into the above template, and exporting a .SWF of each, with the same filename as the .wav file. In other words, if I had only two .wav files, "SoundOne.wav" and "SoundTwo.wav", I want something that will automatically create "SoundOne.swf" and "SoundTwo.swf", with the corresponding .wav file imported into the template code.
The Flash dev applications I have are SWiSHmax and Adobe CS3. Does anyone have any ideas? Any advice is appreciated!