6 Replies Latest reply: Apr 27, 2011 9:01 PM by boat5 RSS

    Sound.play() delay

    Ammar Harfoush Community Member

      I am building a small game engine optimized for android, everything works fine, and I can render around 100 animated sprites with a decent speed, but I am stuck with the sound.

       

      when I play a sound there's a small delay, which is critical in action games, the first time I play a sound it runs fast, but after that there will be a delay.

       

      I am using the usual:

       

      var _mySound:Sound = new MySound();

      _mySound.play();

       

      I am using Flash CS5 with the android extension.

      and testing on Samsung Galaxy S.