# How to play a variable linked to soundfile

**URL:** <https://forum.kirupa.com/t/how-to-play-a-variable-linked-to-soundfile/167257>\
**Category:** flash\
**Created:** [October 26, 2005, 5:35pm UTC](https://forum.kirupa.com/t/how-to-play-a-variable-linked-to-soundfile/167257 "2005-10-26T17:35:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toth](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@toth](https://forum.kirupa.com/u/toth)\
**Post date:** [October 26, 2005, 5:35pm UTC](https://forum.kirupa.com/t/how-to-play-a-variable-linked-to-soundfile/167257/1 "2005-10-26T17:35:57Z")

</div>

Hi,

I have a variable named ‘SoundFile’ that’s linked to a DB dir /audio/sound.mp3. How do I play this sound file with the variable?  
I’m not that good at actionscripting :sigh:

gr, toth
