my actor class. a few questions

my actorclass currently works
Code:
package 
{
   import flash.display.DisplayObject;
   import flash.events.EventDispatcher;
   import Box2D.Collision.*;
   import Box2D.Common.Math.*;
   import Box2D.Dynamics.*;
   import Box2D.Collision.Shapes.*;
   import flash.media.Sound;
   
   /**
    * ...
    * @author ...
    */
   public class gameActor extends EventDispatcher
   {
      protected var _body:b2Body;
      protected var _costume:DisplayObject;
      protected var _sound:Sound;
      public function gameActor(myBody:b2Body, myCostume:DisplayObject)
      {
         _body = myBody;
         _costume = myCostume
   
         updateMyLook();
      }
      
      public function updateNow():void
      {
         updateMyLook();
         childSpecificUpdating();
         
      }
      
      protected function childSpecificUpdating():void
      {

         
      }
      
      
   
      public function destroy():void
      {
         //todo
         
      }
      
      private function updateMyLook():void
      {
         _costume.x = _body.GetPosition().x * Physivals.RATIO;
         _costume.y = _body.GetPosition().y * Physivals.RATIO;
         _costume.rotation = _body.GetAngle() * 180 / Math.PI;
      }
      
   }
   
}


however i want to add collision sounds on a per actor basis. i have defined a var _sound:Sound and have tried to add a third peramiter to function gameActor as mySound:Sound and set _sound = mySound. but when i call _sound.play i get errors. how would i go about getting it to read a sound from the library in a similar way to movieclips so i could name the sounds linkage to what i want depending on the actor.
You import the sound into your library, then tell it to "Export for actionscript" with an appropriate class.

Then you create an instance of this sound
Code:
mySound = new MySoundClass()


And you can just tell this instance to play
Code:
mySound.play()
would it be possible to post an example?
Try this tutorial: http://blip.tv/file/341009 .
i can get a sound loading and playing just fine. problem is its coded directly into the overide for add on contact listener. the problem is how to make a specific sound play depending on the class of the actor. i want to add something to the actor class that would allow me to point to a sound within the child class of the actor class so i can have different sounds for all the actors without having lots of if statements

Original thread: https://box2d.org/forum/viewtopic.php?t=3097