# Best way to call events in sound object

**URL:** <https://forum.kirupa.com/t/best-way-to-call-events-in-sound-object/229782>\
**Category:** flash\
**Created:** [June 20, 2007, 6:31am UTC](https://forum.kirupa.com/t/best-way-to-call-events-in-sound-object/229782 "2007-06-20T06:31:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![K2xL](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@K2xL](https://forum.kirupa.com/u/K2xL)\
**Post date:** [June 20, 2007, 6:31am UTC](https://forum.kirupa.com/t/best-way-to-call-events-in-sound-object/229782/1 "2007-06-20T06:31:24Z")

</div>

I am playing a series of sound files via actionscript 3.0, and I would like to have a fade out effect for each sound and then have the next sound fade in.

I was just curious if anyone could think of a better method then to have an enterframe listener check every frame the position of the song? Or would a timer be better suitable?

Or maybe something else all together? I’m just afraid that the listeners will mess up if a user’s machine locks up…  
Thanks,  
-Danny
