yawn Flash question
yawn Flash question
- Started
- Last post
- 3 Responses
- ********
is there a simple frame action that would randomly play a succession of mp3s from an external folder?
- ********0
create an Array of the links to the mp3s....
then do a Math.random to get a random number multiply it by the total number of mp3s and do a Math.floor on it.....
make sense??
sorry for being too lazy to give acshual code ;)
- unfittoprint0
wel, it depends of what you consider simple.
an XML file with the different tracks...
loading into flash...
starting a Sound object together with an onSoundComplete event to play the next track when the current one's finished...
simple enough?
- ********0
that sounds good