A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Flash MX Streaming Audio

  1. #1
    Senior Member gizmodyer's Avatar
    Join Date
    Dec 2000
    Posts
    148

    Flash MX Streaming Audio

    Hello.

    Does anyone know how to stream 'old school' with flash?


    I have tried to do a simple mp3 stream with the flash Streaming Media Component but it doesn't work with IE 5 on a MAC (flash 6 player)

    It works on other platforms (including opera) on OS X and Win 9X with the flash 7 player.

    There seems to be nothing worthy of note on the macromedia website.



    Cheers in advance.
    Peace, love and good happiness stuff.

  2. #2
    It's a long way to the middle launchpad67's Avatar
    Join Date
    Oct 2004
    Location
    Prescott, Arizona
    Posts
    1,387
    What do you mean by the old school way? Where you just click a link and your default player opens and streams the song? If so, that's exactly what you do, link to the mp3 and the users default player will play the song. You don't need to use any component or flash media player to do this.
    If it's a button use:
    Code:
    on (release) {
    getURL("yourmp3file.mp3");
    }
    If it's a text link use:
    Code:
    "http://www.yoursite.com/yourmp3file.mp3"
    Not sure if this is what your after..??
    BTW, I like your 'signature', a Stevie Vai reference perhaps?
    Last edited by launchpad67; 08-30-2005 at 02:35 PM.

  3. #3
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    The Flash 5 method of streaming audio was basically just the loadMovie method. You would import the .mp3 file into flash, export the .swf and use another interface(flash movie) to load the .swf movie, effectively "streaming" the file. Progressive download is about the same thing as "streaming" an audio file with the sound object in FlashMX or FlashMX2004.

  4. #4
    Senior Member gizmodyer's Avatar
    Join Date
    Dec 2000
    Posts
    148
    Cheers for the reply, fellas/fellettes.

    I'm actually calling the mp3 dynamically with a variable in flash, picking up from asp.

    Code:
    mySound=new Sound();
    mySound.loadSound(ID, false);
    Very basic, but it's all streaming lovely... until I get to IE 5.2 on the Mac.

    It's okay for now, but quite infuriating that the latest flash player in Mac IE cannot seem to handle the audio or possibly the variables. Perhaps it's the install on our test system? Anyone out there who has a similar problem, I'd love to hear from you.

    Quote Originally Posted by launchpad67
    BTW, I like your 'signature', a Stevie Vai reference perhaps?
    Yep - very much a Steve Vai reference ;-) Good song, that.


    Cheers all :-)
    Peace, love and good happiness stuff.

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