Flash Tutorial: Building a Mp3 Player Part I


This is the first part of a five part series on creating an MP3 player with Flash and Actionscript 3.0. This flash tutorial will work in Flash CS3, CS4, and …

[eba kw=”mp3 player” num=”1″ ebcat=””]

This entry was posted in MP3 Players and tagged , , , , . Bookmark the permalink.

23 Responses to Flash Tutorial: Building a Mp3 Player Part I

  1. RizqiNA Vardenssparta says:

    -_-” So Many Script?

  2. thematrixyou says:

    in CS6? it’s the? same?

  3. khunterart says:

    This is one of the nicer tutorials on this subject I’ve seen. Do you have a routine for using it to load more than just the one song? Say, select among? 5 songs?

  4. Martin Pearce says:

    You’re using keyboard commands to open things up so people? cannot see how you are doing it, like the action script window for example!!

  5. SoulzStudios says:

    You’ve just helped me write the base of my radio? player for my site, thankyou!

  6. dudungmarudung says:

    hey this? so great tutorial ty for making this .. i want to ask lil thing how to add our soundFile from streaming radio .. .. iv tried use same code just change that ur ‘viva.mp3’ to that address i have but not works .. wonder i would have need other code to do that tysm :D

  7. luca la ferlita says:

    the script is this:
    import flash.events.MouseEvent;
    import flash.media.Sound;
    import flash.net.URLRequest;

    btnPlay.addEventListener? (MouseEvent.CLICK, playMusic);

    playMusic function (evt: MouseEvent): void
    {
    var myMusic: Sound = new Sound (); / / istantiation
    var soundfile: URLRequest = new URLRequest (“Maid with the Flaxen Hair.mp3”);
    myMusic.load (Soundfile);
    myMusic.play ();
    }

    Please help me!!!

  8. luca la ferlita says:

    The error message is: “Error #? 2044: IOErrorEvent unmanaged:. Text = Error # 2032: Error flow. Mp3Player_fla at :: MainTimeline / playMusic ()”.

    What should I do?

  9. steph s says:

    Too small? to see on mobile phone. Unable to adjust size therefore difficult to follow.

  10. Aiolia Hanatsuki says:

    Help I got

    TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::MouseEvent@45946299? to fl.motion.MotionEvent.

    I’m using CS6

  11. kruedog says:

    Replace? “C:MyFlashFolderMP3song1.mp3” with “file:///C:/MyFlash/MP3/song1.mp3”. It worked for me.

  12. SML boy says:

    you this thing? is not working it’s crap and it wasted my time

  13. SML boy says:

    I got CS5 but i? cant find the lable or the component pr

  14. Toby Schmidt says:

    i keep getting Error? #2000: No active security context.

    any idea what to do?

  15. gentdub says:

    can we export this to android (air android)? If so, this can be very? useful for me. Please reply! :)

  16. radiotadka says:

    Sir can you explain how to make a? music equalizer effect in flash
    as the music plays this should play

  17. Wesley Hawee says:

    the function and void it becomes red. any way to make? it green?

  18. LearnToProgramDotTV says:

    Make sure your files? are all in the same folder

  19. snowbunniesx says:

    i followed exactly but? kept getting this:

    Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
    at mp3Player_fla::MainTimeline/playMusic()

    what does it mean?
    Please, need help urgently.

  20. Mohit Manuja says:

    Hey Mark I have worked on an as3 flash mini player and it works just great ..can i hope u will approve? the video response

  21. vjtommyleemusic says:

    Nice? tutorial.

  22. Aus R says:

    Ive had exactly the? same issues with my play button jumping all over the place, and i have followed the code exactly to every detail. Cannot work out what is wrong.

  23. Bleedingedgehx says:

    Hi, I am looking for a tutorial on how to make a shoutcast player in AS3. Can you make one or point me? to one?

Comments are closed.