FLV audio problems
Copy link to clipboard
Copied
import fl.video.FLVPlayback;
BackButtonFive.addEventListener(MouseEvent.CLICK,BackButtonFiveClick);
function BackButtonFiveClick(event:MouseEvent):void {
gotoAndStop("WhatisRN");
HowarthFLV.stop();
}
Copy link to clipboard
Copied
Copy link to clipboard
Copied

Copy link to clipboard
Copied
Copy link to clipboard
Copied
http://www.savefile.com/files/1312907
The FLV is in the movie symbol called Reactive Nitrogen and its on frame 180.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You want to stop the NetStream from playing the audio and downloading content when you go to a new keyframe and the video display/component is removed from the stage. Add an event listener to your video playback component that calls a function when the flash player tries to remove the video plaer from the stage that stops the netstream or at least stops/pauses the video playback.
//sample NetConnection and NetStream classes when the video player is removed from the stage tell the NetStream to stop playing or downloading the content with .close();
var connection:NetConnection = new NetConnection();
connection.connect(null);
var stream:NetStream = new NetStream(connection);
addEventListener(Event.REMOVED_FROM_STAGE, videoRemovedFromStage);
function videoRemovedFromStage(e:Event){
stream.close();
}

