will this player shuffle or just go down the list of songs in the xml?
Posted about 1 year ago
Want an mp3 player with little to edit? This is it. Just edit the XML file to direct the player to your music. That’s it. There’s plenty more to edit if you want.
Example XML :
song path=”/music/song.mp3” titles=”Song Title” band=”Band Name”/
Posted about 1 year ago
will this player shuffle or just go down the list of songs in the xml?
Posted about 1 year ago
Never mind the last question, I figured it out. I made the first song in the XML “Select Song To Play,” an mp3 that does not exist. The player sits quietly until a song is selected. Cool.
Posted about 1 year ago
As a follow-up I just want to say that Bob of Pineapple Press got back to me very quickly with a way to make this player not automatically play each time loaded. With a tiny change to one line of script, it now waits for the play button to be pressed before playing, much nicer for me. If anyone else is looking for an excellent player that does not consume much screen real estate, look no further. This is a great little player.
Here is Bob’s code change if you need the same control:
Ok here’s what you need to do. Open the file and double click on the mp3 player. There is a layer labeled “xml”. Click on the keyframe 5 and open the actions panel. You should see this code:
stop();
if (audiolist_xml.loaded = true) {
mysound = new Sound ();
mysound.loadSound(currentFilePath, true);
mysound.start();
}else{ gotoAndPlay(2); }
Change “mysound.start();” to “mysound.stop();”
Thats it.
Posted about 1 year ago
Hi Beautiful player you designed, nice work… but I am probably doing something obviously wrong. This utility works fine in testing straight from the .fla file, with my own recordings. But when I import it onto the stage, or into the library, of another .fla form that I create in CS3 , in both AS 2 .0 and 3.0, the player will not play. WHat am I doing wrong? Thank you Peter
Posted 9 months ago
i noticed that it loops on the selected song over and over until you manually hit the next >>. oh yea… Jpsites said it first… looks great, its simple small. But he looping is strange.
Posted 8 months ago
very easy to edit and tailor to your needs. buy it- i added in album artwork and turned it into a slide show presentation w/ audio for one of my clients. well worth the $10 
by the way, to make it not auto-play, i just changed mysound.loadSound(currentFilePath, true); to false – and removed mysound.start() entirely.
Posted 5 months ago