A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: stream external mp3

  1. #1
    Webmong
    Join Date
    Mar 2004
    Location
    London UK
    Posts
    24

    stream external mp3

    Hi all

    I'm a bit lost here

    I need to stream an mp3 with a single toggle button Play/Stop and a volume slider.....this already hurts.....this is where I get even more lost.....

    I need to locate the mp3 from a query string eg:

    Code:
    stream.swf?username=cybercampbell&item_name=test.mp3
    and now it get even more tricky (for me anyway)

    I now need to grab the mp3 from the correct url/directory by extracting the following info from the query string...this is where the file will be:

    Code:
    http://www.mydomain.com/users/c/cy/cybercampbell/av/test.mp3
    so as you can see i've used the username to get there using this method:

    u/us/username
    b/bo/bob
    s/sa/sarah

    all taken from username

    /users/ and /av/ will always be the same

    any ideas?

    Cheers
    cybercampbell
    Successful people ask better questions, and as a result, they get better answers - Anthony Robbins

  2. #2
    God yeps's Avatar
    Join Date
    Dec 2005
    Location
    :noitacoL
    Posts
    660
    ive been trying to figure this out for a bout 2 weeks and i still havent gotten it let me no if u figure it out

  3. #3
    Webmong
    Join Date
    Mar 2004
    Location
    London UK
    Posts
    24
    OK...this is as far as I got...so I'm hopeing for a little (or maybe alot) advise:

    I've attached the .fla (zipped)

    I can get the mp3 the play when loaded but still having trouble with the play stop button and I'm hopeing to get some help with adding a volume slider...I've found heaps of examples out there but there are all to advanced for waht I need and I try to take out the other/extra stuff and seem to mess everthing up.

    Can anyone help out on this:

    Cheers
    Attached Files Attached Files
    Successful people ask better questions, and as a result, they get better answers - Anthony Robbins

  4. #4
    Webmong
    Join Date
    Mar 2004
    Location
    London UK
    Posts
    24
    mmmm.....maybe I should give up flash!
    Successful people ask better questions, and as a result, they get better answers - Anthony Robbins

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