A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Buffer-ahead loop

  1. #1

    Buffer-ahead loop

    I have built a flash site where I have music looping; http://www.en-tact.com/africa2010 . However, is it possible starting with the 2nd loop to buffer-ahead the start of the music?

    This is what I have to just loop it:

    soundTrack = new Sound();
    soundTrack.attachSound("Mumbai");
    soundTrack.start(0, 99999);

    volumeSlider.onMouseMove = function()
    {
    var currentVolume = this.position._x/2;
    soundtrack.setVolume(currentVolume);
    };

  2. #2
    ok, I found a function called _soundbuftime. Not working...

    soundTrack = new Sound();
    soundTrack.attachSound("Mumbai");
    soundTrack.start(0, 99999);
    soundTrack._soundbuftime = 50;
    .
    .
    .
    .

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