# FMS 3.5 Dynamic Buffer

**URL:** <https://forum.kirupa.com/t/fms-3-5-dynamic-buffer/308252>\
**Category:** flash\
**Created:** [April 20, 2010, 8:07am UTC](https://forum.kirupa.com/t/fms-3-5-dynamic-buffer/308252 "2010-04-20T08:07:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![burger](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@burger](https://forum.kirupa.com/u/burger)\
**Post date:** [April 20, 2010, 8:07am UTC](https://forum.kirupa.com/t/fms-3-5-dynamic-buffer/308252/1 "2010-04-20T08:07:42Z")

</div>

hi there,

I’ve built a custom flash, as3 streaming video player, all works pretty good (even dsi switching). And I’m trying to increase the size of the buffer, so if the user pauses the movie the buffer continues to fill until it buffers the entire movie. is this possible?

I tried this…

```auto

private function netStatusHandler(event:NetStatusEvent):void {
	switch (event.info.code) {
		case "NetConnection.Connect.Success" :
			doVideo(_nc);
			break;
		case "NetConnection.Connect.Failed" :
			break;
		case "NetConnection.Connect.Rejected" :
			break;
		case "NetStream.Play.Stop" :
			break;
		case "NetStream.Play.StreamNotFound" :
			break;
		case "NetStream.Publish.BadName" :
			trace("The stream name is already used");
			break;
		case "NetStream.Buffer.Full" :
			_ns.bufferTime=_ns.bufferTime+5;
			TweenLite.to(_buffer,1,{alpha:0});
			break;
		case "NetStream.Buffer.Empty" :
			_ns.bufferTime=2;
			TweenLite.to(_buffer,1,{alpha:1});
			break;
	}
}

```

but “NetStream.Buffer.Full” only fires once, and once “\_ns.bufferLength” reaches 60 seconds, it stops?

anyone know anything about this?
