Play/pause audio in timeline
Hi to all,
I try to create a play/pause buttons for to play/pause an animation on the timeline, the buttons work well for the animation, but noto for the audio... this is because in the canvas sets it isn't possible use audio in streaming but only in event mode...
I find documentation only for external audio but not in timeline
this is my code inside a MC playpause_mc
this.stop_btn.addEventListener("click", stop_anim.bind(this));
function stop_anim() {
//javascript:alert("Mouse clicked");
this.parent.stop();
this.gotoAndStop("STOP");
//stop audio in parent
}
Can you help me?
