resume() not working
Hi everyone,
I couldnt find an answer to my problem anywhere, i hope some of you can help me out.
I am trying to play a previously recorded video, everything works fine except the resume() method (same with togglePause() - when it's used to resume the video - the pause works just fine)
Here's a bit of my code:
this.customClient = new Object();
this.customClient.onMetaData = metaDataHandler;
this.nsPlay = new NetStream(this.nc);
this.nsPlay.bufferTime = 2;
this.nsPlay.addEventListener(NetStatusEvent.NET_STATUS, onPlaybackStatus);
this.nsPlay.client = this.customClient;
this.videoRemote.attachNetStream(this.nsPlay);
this.nsPlay.play(this.MOVIE_NAME, 0);
/** play/pause button click handler **/
private function onPlayPause(evt:MouseEvent):void
{
this.nsPlay.togglePause();
}
Any help or tip would be greatly appreciated.
