# Sounds -\> Putting together at runtime

**URL:** <https://forum.kirupa.com/t/sounds-putting-together-at-runtime/30007>\
**Category:** flash\
**Created:** [September 2, 2003, 10:14pm UTC](https://forum.kirupa.com/t/sounds-putting-together-at-runtime/30007 "2003-09-02T22:14:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack\_Knife](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jack\_Knife](https://forum.kirupa.com/u/Jack_Knife)\
**Post date:** [September 2, 2003, 10:14pm UTC](https://forum.kirupa.com/t/sounds-putting-together-at-runtime/30007/1 "2003-09-02T22:14:28Z")

</div>

I am making a chess game. I have recorded sounds for things such as “king”, “queen”, “pawn”, “black”, “white”, “to”, “A”, “1” etc. etc… Now, what I want to do, is when someone makes a move, i want to have it say “White king to B6” or something to that effect. What I want to know is, is there a way, using actionscript most likely, to put the sounds together at runtime, or will I have to play each sound after one another and use getTimer() to calculate when to run each sound based on the length of them?

Thanks, JK. :block:

[edit]Gee, I hope that made sense. Oh well, just tell me if it didnt and i’ll explain better[/edit]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 11:41pm UTC](https://forum.kirupa.com/t/sounds-putting-together-at-runtime/30007/2 "2003-09-02T23:41:35Z")

</div>

well what i am wondering is(and excuse me if i’m wrong) is why don’t you just play the sound when the chess piece is moved? for ex.

```auto

pawn.onPress = function(){
pawnSound.start(0,1);
}

```

although i don’t think i am understanding you too well 🙂  
[edit]  
ahh i just reread your post you want it to say, blah moved to blah _scratches head_

hmm i’m really not too sure about that

[/edit]
