# Addeventlistener

**URL:** <https://forum.kirupa.com/t/addeventlistener/293911>\
**Category:** Uncategorized\
**Created:** [August 5, 2009, 6:28pm UTC](https://forum.kirupa.com/t/addeventlistener/293911 "2009-08-05T18:28:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrickvallone](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@patrickvallone](https://forum.kirupa.com/u/patrickvallone)\
**Post date:** [August 5, 2009, 6:28pm UTC](https://forum.kirupa.com/t/addeventlistener/293911/1 "2009-08-05T18:28:14Z")

</div>

i am looking for a script that ill count ho many times a sound plays. I have the sound play hen they click on the button, so there is actual order that the user ill click on the buttons. hen the sound play 24 times i need it to play a different sound on the 25 time and for the movie to go to frame 2.
