# Sound instance to dispatch SoundEvent.SOUND\_POSITION\_UPDATE?

**URL:** <https://forum.kirupa.com/t/sound-instance-to-dispatch-soundevent-sound-position-update/317188>\
**Category:** flash\
**Created:** [December 13, 2010, 1:09pm UTC](https://forum.kirupa.com/t/sound-instance-to-dispatch-soundevent-sound-position-update/317188 "2010-12-13T13:09:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![watcher](https://avatars.discourse-cdn.com/v4/letter/w/77aa72/32.png) [@watcher](https://forum.kirupa.com/u/watcher)\
**Post date:** [December 13, 2010, 1:09pm UTC](https://forum.kirupa.com/t/sound-instance-to-dispatch-soundevent-sound-position-update/317188/1 "2010-12-13T13:09:32Z")

</div>

Hi All,

this is what im trying to implement:  
“Sound instance will dispatch an event each second it plays; Event type: SoundEvent; Event name: SOUND\_POSITION\_UPDATE”.

I want this to be dispatched by the instance of the Sound class.

I figure i can extend Sound class and add the behavior, but it seems too much of fuzz considering i need to call the new class different name (not ‘Sound’). Id still love to use the ‘Sound’ class in my projects. When i change namespace there is problem:  
class Sound extends Sound \<- not possible,  
and if i just create like another class to check for change in Sound instance and dispatchEvent each time it reached next second, that means creating another class to listen to (which i dont want).

Can i use some kind of Proxy maybe to add this Timer/dispatcher functionality into built-in Sound class itself?  
Or simply what’s your best take to accomplish simply the above in flash?

thanks  
-w
