# Slight delay in button sounds during sound stream. (Firefox sucks.)

**URL:** <https://forum.kirupa.com/t/slight-delay-in-button-sounds-during-sound-stream-firefox-sucks/280721>\
**Category:** flash\
**Created:** [January 30, 2009, 6:54pm UTC](https://forum.kirupa.com/t/slight-delay-in-button-sounds-during-sound-stream-firefox-sucks/280721 "2009-01-30T18:54:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anogar](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Post date:** [January 30, 2009, 6:54pm UTC](https://forum.kirupa.com/t/slight-delay-in-button-sounds-during-sound-stream-firefox-sucks/280721/1 "2009-01-30T18:54:44Z")

</div>

I have some sounds on buttons:

```auto

var mySound:Sound = new myLibrarySound();

myButton.addEventListener(MouseEvent.CLICK, playSound);

function playSound(e:Event):void
{
     mySound.play();
}

```

… and that works fine. I then have some streaming music:

```auto

var myStream:Sound = new Sound();
myStream.load(new URLRequest("myPath.mp3"));
myStream.play(0);

```

… and that works fine too. Now, however, the initial button sounds have a slight delay – I’d estimate about 150-250 ms. It’s enough that rollover click noises happen about the time you click, and click noises happen about the time you release, etc. Now, here’s the KICKER.

It only happens in **FIREFOX**. CURSE FIREFOX. Seriously. I’ve been having so many Flash issues in FF3, it just drives me nuts. Firefox and wmode is a pain, Firefox and sound is a pain, Firefox has been crap for Flash development lately. :fight:

Any ideas?

[whisper]I love Firefox for HTML / CSS development as much as the next nerd, no need to pelt me with your fanboism. :love: It has annoying Flash issues.[/whisper]
