so i did this:
ActionScript Code:
//----------------------------------------------------------------------------------------------------------
function onSoundComplete_music( event:Event ):void
{
trace( "onSoundComplete_music()------------" );
// trace( " event: " + event );
// trace( " target: " + event.target );
sc_music = snd_music.play();
sc_music.addEventListener( Event.SOUND_COMPLETE, onSoundComplete_music, false, 0, true );
}
and it loops, but isn't this creating like a big infinite recursion loop? what if i wanted to setup mutliple channels and loop each, but only wanted one function to do it? seems kinda weird, that I can't do that.
i've searched google for an hour trying to find the answer to this and no one seems to have it. seems kinda weird that nobody's tried to loop a sound until now.