1 Reply Latest reply on Jul 29, 2013 8:59 AM by resdesign

    How to use incidental sounds

    chino_10

      Hi everybody

       

      I need that when de user click a button, an incidental sound starts to play, i don't know how to use an audio player or sth like that

       

      Can you please help me??? Thaks =)

        • 1. Re: How to use incidental sounds
          resdesign Adobe Community Professional & MVP

          Check the post about buss.js or edge common.

           

          For example, with buzz.js:

           

            yepnope(

          {

              nope:[

                  'js/buzz.js',

               ],

              complete: init

          }

          );

               

          function init() {

           

                              yourSound= new buzz.sound("media/yourSound", {formats: ["mp3", "ogg", "wav"],

                              loop: 'true'});

             

          }

          // use this where you need.

          yourSound.play();