@Photics, love it, Never really used this bubbling effect, but it works very well in Hype.
I am right in thinking that these Hype documents are all being loaded into an external page?.
If so you would need to put the code in the parent head file.
Working from the first link in the stack overflow link above the code would be similar to this.
<script>
document.addEventListener("click",function(e) {
// e.target was the clicked element
if (e.target && e.target.matches(".cloadSound")) {
console.log(e.target.id, "Sound element clicked!");
}
});
</script>
note I give every cload a class name of ‘cloadSound’