I tried asking multiple Flash-specific boards before coming here; I really did. As usual, though, their denizens are far more focused on telling me I don’t really want what I think I want than answering my question. I’ll probably start a Pit rant about that attitude later, but for right now, if I seem a bit miffed, that’s why. On to my question…
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.
[Me Being Angry At Other Boards]I assure you, I really do need 3,000 files. I do. One file that can play every sound dynamically via user actions, passed variables, PHP, ancient incantations, or anything else, will not work. I will not explain why, because it’s a long story, wholly irrelevant to my question, and I don’t care to argue the point.[/MBAAOB]
The Flash dev application I have is SWiSHmax, but if there’s a freeware or <$100 application out there that can do this for me, I’ll be all over it. Anyone have any ideas? All advice (except that which advises me not to create 3,000 separate files, because I frigging need 3,000 separate files) is greatly appreciated.