1 Reply Latest reply on Jan 15, 2007 3:40 PM by kglad

    Advanced Sounds..

    Level 7
      I have some animation where a sound plays on several dynamically created
      objects on my screen.

      Here's my sound as:
      // ------------ walking
      soundWalking:Sound = new Sound(this);
      soundWalking.attachSound("walkin");

      function walkingSnd() {
      soundWalking.start(0,1);
      };
      function walkingStopSnd() {
      soundWalking.stop();
      };

      // ----------- stand
      var soundStand:Sound = new Sound(this);
      soundStand.attachSound("stand");

      function standingSnd() {
      soundStand.start(0,1);
      };

      Unfortunately, once "walkingStopSnd()" is called anywhere in my
      actionscript, all the other sounds for each object stops also..

      Any way to get around this?

      Thanks

      -Bill