Unload external video mp4 files in Animate
Hello and thanks for any help in advance. I am attempting to create a simple presentation in animate that plays external videos from a button interface. I have imported the videos to 6 separate frames in the scene, frames 10, 20, 30, 40, 50, 60. The interface is on frame 1 containing 6 buttons. Code frame 1 -
The buttons work, play head jumps to requested frame video plays on stage. The viewer navigates back with a back button. Code -
BackButton.addEventListener(MouseEvent.CLICK, f7_ClickToGoToAndStopAtFrame);
function f7_ClickToGoToAndStopAtFrame(event:MouseEvent):void
{
gotoAndStop(1);
}
The problem is the videos do not unload and continue to play in the background. I know I am forgetting some code or maybe the way I have designed this won't be possible but I was trying the simplest solution. I have not worked in animate in years, any help would be GREATLY appreciated!
Thank you!
