A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Creating MP3 Player...

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    12

    Creating MP3 Player...

    Basically I need help creating an MP3 player for my website. I want it to be small, with the only functions being "play", "stop", "next", "previous", as well as some sort of display to show the song title - and I want it to load streaming MP3s from a playlist of some sort, so I can have like 10 or so MP3s not directly inside the Flash file but just in the same basic directory. I'm relatively new to Flash MX and what not, but I've tried using several tutorials and none of them seem to do exactly what I'm looking for. Any help? Thanks.

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Posts
    12
    Look at www.kanyewest.com to get an idea of what I'm talking about ...

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    12
    http://filebox.vt.edu/users/kyconrad/mp3playerhelp.ZIP

    Maybe that'll help...

    In the ZIP file within this one is the original sample MP3 player that I found on this site, it uses XML to load and play a playlist of MP3s. Works fine in it's original form.

    MainwinMX.fla is the file I created, and I basically just copied and pasted the player into that in it's entirety - and it doesn't work, it loads the XML file (as it DOES display track names), but then it never plays the audio. Any help here?

  4. #4
    The Insane bfly03's Avatar
    Join Date
    May 2001
    Posts
    692
    Did you ever get this thing to work?

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Posts
    12
    Originally posted by bfly03
    Did you ever get this thing to work?
    Yeah I managed to get some help on another part of this forum, along with an opensource player to use as my base... works pretty well, thanks.

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    I think Bfly03 wanted a little more info than what you provided. I think he's trying to get it working for himself, not just concerned about if you managed it or not, but mostly how...

  7. #7
    The Insane bfly03's Avatar
    Join Date
    May 2001
    Posts
    692

    macromedia component

    Usage: Drag and Drop the Component from the Components Panel after installing it. Select the Streaming mode value (true = on, false = off), write the playlist file (specifying its path, the file can be in any format, PHP, ASP, CF, TXT, etc.) and the mp3 files path in the apposite fields and you are ready to go.
    Could someone give me an example of a playlist file ?
    Attached Files Attached Files

  8. #8
    Junior Member
    Join Date
    Apr 2004
    Posts
    12
    Originally posted by oldnewbie
    I think Bfly03 wanted a little more info than what you provided. I think he's trying to get it working for himself, not just concerned about if you managed it or not, but mostly how...
    Oh all right...

    Check out: http://www.flashkit.com/board/showth...hreadid=545194

    That's the one I used as my base.

  9. #9
    The Insane bfly03's Avatar
    Join Date
    May 2001
    Posts
    692
    OrtizDupri

    I appreciate the link and will check it out after i get off work. i was wondering if you got the component to work for you though? if so could you tell me the format the 'playlist' needs to be in. i tried making one last night but i really didnt understand what i needed to do.
    cheers,

  10. #10
    Junior Member
    Join Date
    Apr 2004
    Posts
    12
    Originally posted by bfly03
    OrtizDupri

    I appreciate the link and will check it out after i get off work. i was wondering if you got the component to work for you though? if so could you tell me the format the 'playlist' needs to be in. i tried making one last night but i really didnt understand what i needed to do.
    cheers,
    That player over there has a BAT file that automatically generates an XML playlist (which is editable with Notepad)... and yeah, it seems to work all right.

  11. #11
    The Insane bfly03's Avatar
    Join Date
    May 2001
    Posts
    692
    OrtizDupri.

    Could you give me an example file of what the XML should look like?
    Much Appreciated.

  12. #12
    Senior Member flashPlaya's Avatar
    Join Date
    Sep 2001
    Location
    >>WESTSIDE<<
    Posts
    235
    Hey bfly03,

    did you ever get that xml file? Cause I would like to see if you got it

    thanks
    ////FLASHPLAYER//

    MY SITE>>

  13. #13
    Master Of The Universe EvilKnevil's Avatar
    Join Date
    Jul 2001
    Location
    Ontario, Canada.
    Posts
    254
    hello guys..
    does anyone know where I can get a simple mp3 player like the one on www.thornleyband.com or if anyone knows what is wrong with the code on this player? I have attached the file--i need this to play automatically on my website once it loads.
    There is something wrong with the code though...

    if you want to see where it is now---goto www.peeler.ca
    it is in the bottom corner and ONLY plays automatically once the page is refreshed....yet in my browser on my local machine when I test it..it works automatically soon as I test the flash movie.


    Here is the code;
    Last edited by EvilKnevil; 12-01-2008 at 02:09 PM.
    "Ride It Like Ya Stole It!'

    Preschool Learning Activities

    Flash Cartoons

  14. #14
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Why don't you try with the one posted in this thread?

    http://www.flashkit.com/board/showth...hreadid=571025

  15. #15
    Master Of The Universe EvilKnevil's Avatar
    Join Date
    Jul 2001
    Location
    Ontario, Canada.
    Posts
    254
    I'll check that out oldnewbie.....thanks

    if you see the player @ www.peeler.ca you'll now see what it is doing.
    I have it showing song titles....but it shows some weird code in the title bar at first.(and doesn't play on start--it has to be refreshed first)
    If you can check it...check it...if not...don't worry..I'll figure it out.
    Just strange..

    No biggie though---now I just want to know what the prob is.
    "Ride It Like Ya Stole It!'

    Preschool Learning Activities

    Flash Cartoons

  16. #16
    Master Of The Universe EvilKnevil's Avatar
    Join Date
    Jul 2001
    Location
    Ontario, Canada.
    Posts
    254
    That .fla you gave is not of much use....I don't have that version of Flash. I am using MX and that won't open....

    Thanks though...
    "Ride It Like Ya Stole It!'

    Preschool Learning Activities

    Flash Cartoons

  17. #17
    Senior Member
    Join Date
    Jun 2004
    Location
    Sheffield
    Posts
    261
    http://www.flashkit.com/board/showth...hreadid=571025

    goto this thread and look for the player.fla download at the bottom.
    it was resaved in mx format.

    G

  18. #18
    Master Of The Universe EvilKnevil's Avatar
    Join Date
    Jul 2001
    Location
    Ontario, Canada.
    Posts
    254
    Thanks Buddy......I appreciate it
    "Ride It Like Ya Stole It!'

    Preschool Learning Activities

    Flash Cartoons

  19. #19
    Master Of The Universe EvilKnevil's Avatar
    Join Date
    Jul 2001
    Location
    Ontario, Canada.
    Posts
    254
    Anyone know how to get this player to play automatically as soon as the website loads? Or does anyone know what the strange code on my current player at www.peeler.ca is? and why it is showing? I am also trying to get it to play automatically.

    Thanks in advance..
    "Ride It Like Ya Stole It!'

    Preschool Learning Activities

    Flash Cartoons

  20. #20
    Senior Member
    Join Date
    Jun 2004
    Location
    Sheffield
    Posts
    261
    in the player it uses frames to set up which music is to be played. all u have to do is set inthe first frame what song you want to be played by using the same sound object. it will stream it obnce. after that it will carry on as normal with the rest of the site

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center