// FRAME SCRIPT
var songList:Array = ["beach", "africa", "shogun"];
var what:Number = 0;
var path = "songs/";
// PLAY Button SCRIPT
on (release) {
// PLAY MP3
whatever = new Sound();
song = songList[what];
NowPlaying = path+song + ".mp3";
whatever.loadSound(NowPlaying,true);
whatever.start(0,1);
what++;
if (what>songList.length-1) {
what = 0;
}
}
Thursday, April 9, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment