I would set it up using XML.
I think the trick to loading MP3s and having them loop is to preload
them.
Then figure out how long till the sound plays and how long is left
after the sound ends to the end of the track.
Time your next song in line to start playing before the other ends at
the right point to where the current ends
the next in line has had time to get to the point where its sound
starts.
Then do a little DJing utilizing some kind of fade of the volumes. :)
You could even have them overlap some to have that cross-fade effect.
If anyone has a better suggestion, I am all ears as well.
Best,
Karl
On Apr 29, 2010, at 6:25 AM, Jim Andrews wrote:
Sorry. I should have been more specific. What I'd like to do is
create an external file that contains a bunch of wav files. Perhaps
a bunch of such such groups of wav files. And then, at run-time,
the user may select one of those groups of wav files. And then the
program should download that particular file.
Is that sort of thing supported in Flash?
In Director, such groups of wav files (and/or other media) can be
stored in .cst files and downloaded at run-time.
ja
http://vispo.com
----- Original Message ----- From: <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Thursday, April 29, 2010 3:47 AM
Subject: Re: [Flashcoders] libraries of wav files?
If you are talking about sound imported into the Library in IDE, you
can assign a Class name to it and instantiate it as normal:
var snd:Sound = new LibaraySound();
snd.play();
...etc.
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 29 April 2010 10:35, Jim Andrews <[email protected]> wrote:
i know you can load external mp3 files in flash, but is it
possible to load
a library (if that is the right term) of wav files in flash?
the app i want to make involves loops, and mp3 files are not real
good for
loops.
ja
http://vispo.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders