Search  

SINGLE MP3 MUSIC PLAYER

HomeBrowse CategoriesFlashApplications and UtilitiesUtilitiesSingle Mp3 Music Player

This is a single streaming Mp3 music player that can easily be dragged and dropped onto any Flash CS3 or MX8 stage. The player includes a music on/off button with a volume adjustment slider. Also included within the player is a faux equalizer that adjusts it’s tempo in accordance to the volume of the music.

Posted 11 months ago

thats nice, would be nice to see an xml driven verison with support for more than 1 track

nice file

Jay

Posted 11 months ago

I am thinking about setting a future version up with support for more than one track.

Thanks, John

Posted 11 months ago

yes xml version would be great!

Posted 11 months ago

Agreed. Only needs XML integration, track/title info + basic controls (i.e. play, next, previous, stop, and a scrubber)

The UI already looks nice & clean.

Posted 11 months ago

Point taken, an xml version will soon be in the works.

Posted 11 months ago

Does it support looping? So can I use a short beat to be repeated?

Looks awesome tho!

Posted 11 months ago

It does loop, and you can turn that feature on and off within the code quite easily.

Posted 11 months ago

great player, its exactly what i was looking for. one question: can i set the player to NOT play automatically? I looked through the AS, maybe i’m missed it? thanks

Posted 7 months ago

Hey Dyzine, the player was essentially build to auto play at start. However it is quite a simple adjustment if you wish to alter this.

Step 1: Add a second frame in clipMC and move only the actions Key Frame to the second frame. Both music clip and player back layers should span both frames.

Step 2: Add the following code to the bottom of that actions frame (layer 1 frame 2 in clipMC);

stop();
musicMC.gotoAndStop(2);
musicMC.volslider.slider._x=0;
_root.vol = 0;

Step 3: Test to make sure all works well.

Let me know if you need any further assistance.

Posted 7 months ago

excellent! works perfectly. thanks a million!! :)

Posted 7 months ago

actually there is one small problem. it seems the player still loads the music and plays it, only without the sound. so when someone clicks to turn the music on, it turns on wherever the song is at the moment, not at the beginning. is there a way to make the player not begin loading and playing until it’s clicked? id like to have multiple players on the same page but without them playing over each other on auto, and without the increased bandwidth of loading all of them at once.

thanks :)

Posted 7 months ago

Hi,

I just purchased this because the description says it opens with MX 2004 and it doesn’t. Could you please send me a MX 2004 fla file? I’d really appreciate it. Thanks.

Posted 5 months ago

Hey Matai, sent me you email and I’ll send you a revised file if necessary.

Posted 5 months ago

I have the same problem as Dyzine

“actually there is one small problem. it seems the player still loads the music and plays it, only without the sound. so when someone clicks to turn the music on, it turns on wherever the song is at the moment, not at the beginning. is there a way to make the player not begin loading and playing until it’s clicked? id like to have multiple players on the same page but without them playing over each other on auto, and without the increased bandwidth of loading all of them at once.”

Is there a fix for this?

Thanks!

Posted 5 months ago

digitalpressure, try the fix noted for Dyzine and let me know if this works for your needs. If not get back to me and I’ll try to figure out a fix for you.

“Step 1: Add a second frame in clipMC and move only the actions Key Frame to the second frame. Both music clip and player back layers should span both frames.

Step 2: Add the following code to the bottom of that actions frame (layer 1 frame 2 in clipMC);

stop(); musicMC.gotoAndStop(2); musicMC.volslider.slider._x=0; _root.vol = 0; Step 3: Test to make sure all works well.” Posted 5 months ago

Yeah I already had that code in it… It’s as if the player is playing but muted instead of paused.

I pasted the code below so you can check it for errors.

Code>>> // create new sound element mySound = new Sound();

// load sound and set for stream mySound.loadSound(“http://www.quickdfw.com/audiofiles/musicpunches.mp3”,true);

// start new sound mySound.start();

musicMC.onEnterFrame = function(){

// set volume based on variable mySound.setVolume(_root.vol);

// loops streaming sound mySound.onSoundComplete=function(){ mySound.start(); }

// shows volume percentage musicMC.volVar=”Volume: “_root.vol”%”; } stop(); musicMC.gotoAndStop(2); musicMC.volslider.slider._x=0; _root.vol = 0;

Posted 5 months ago

Hey digitalpressure, the sound actually does mute instead of stop. Ideally this was built for a single audio loop. You could try using the mySound.start(); and mySound.stop(); with the music on music off button. This way your not initializing the start of the music until the button is pressed.

Make sure you remove this: // start new sound mySound.start();

This way it will not start until you call it from the button press.

Let me know if this helps you out at all.

Posted 5 months ago

Not sure if this is the correct spot to place it. If it is the correct spot It still plays the track while muted.

stop();

btn.onRelease = function(){

mySound.start();

// move to off position gotoAndStop(2);

// move the volume slider to 0 position volslider.slider._x=0;

// adjust volume variable (this prevents a flicker in the music button) _root.vol = 0; }

eqon.onEnterFrame = function(){

// this sets the music button to off if the slider has moved to 0 if(_root.vol == 0){ gotoAndStop(2); } }

Posted 5 months ago

If your looking to stop the sound you’ll want to call mySound.stop(); and to start it again mySound.start();.

Posted 5 months ago