# Actionscript 3: finding the name of a sound currently playing

**URL:** <https://forum.kirupa.com/t/actionscript-3-finding-the-name-of-a-sound-currently-playing/329613>\
**Category:** flash\
**Created:** [September 22, 2012, 12:10am UTC](https://forum.kirupa.com/t/actionscript-3-finding-the-name-of-a-sound-currently-playing/329613 "2012-09-22T00:10:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfasu](https://avatars.discourse-cdn.com/v4/letter/p/5f9b8f/32.png) [@pfasu](https://forum.kirupa.com/u/pfasu)\
**Post date:** [September 22, 2012, 12:10am UTC](https://forum.kirupa.com/t/actionscript-3-finding-the-name-of-a-sound-currently-playing/329613/1 "2012-09-22T00:10:33Z")

</div>

## Hello All, I’m brand new to Actionscript 3 and am using the clearly explained code from this site to preload and play a sound:

var soundClip:Sound;

function init() {  
soundClip = new Sound();  
soundClip.load(new URLRequest(“owl.mp3”));  
soundClip.addEventListener(Event.COMPLETE, soundLoaded);  
soundClip.addEventListener(ProgressEvent.PROGRESS, soundLoading);  
}

init();

function soundLoaded(e:Event) {

soundClip.play();

}

function soundLoading(e:progressEvent) {

// preloader information goes here

## }

But now I need to find out the name of the sound file currently playing (I’ll have many in the project).

I’ve searched for the way to do this and probably I’m not using the correct terms. Any help is greatly appreciated.
