Importing sounds from library in AS3

Im not being able to load sounds from library in AS3. I get no error when I compile, but I also don’t get to hear the sound…

i have a sound in the library with export for actionscript, with auto generated class named loop1
when importing movieclips i just load them like mc:MovieClip=new movfromlibrary()
but with sound nothing happens…

can anyone help?

here’s my code:


package{
 import flash.display.*;
 import flash.events.*;
 import flash.media.Sound;
    import flash.media.SoundChannel;
 import flash.media.SoundTransform;
    import flash.net.URLRequest;
 //
 public class somswfClass2 extends Sprite{
  
  public function somswfClass():void{
   //
   
    //var request:URLRequest = new URLRequest("loopsom1");
    //varloop1:Class=this.contentLoaderInfo.applicationDomain.getDefinition("loop1");
    var sonido:Sound = new loop1();
    sonido.start(0, 999)
    //this.addChild(sonido)
    //sonido.load(request);
    var canal:SoundChannel = sonido.play(0, 999999);
    var transforma:SoundTransform = canal.soundTransform;
              transforma.volume = 100;
              canal.soundTransform = transforma;
    trace("ok")
   }
  //
  
 }
}