A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: streaming sound

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Posts
    130
    Hi there,

    how can I stream a large MP3 soundfile in my swf, which I can put on and off..??


    thanx in advance

  2. #2
    just put this sound in a layer.
    put the sync in streamed sound.
    put the loops at 999.
    then make a linkage of the sound . for exemple "music".
    After, you'll just have to declare the sound.
    sound = newSound();
    sound.attachSound("music");

    you can make an on-off button in wich you move the volume of "music".

    exemple: _root.sound.setVolume(0);

    Hope this helps you.

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