# Problems with NetStatus Events and buffering

**URL:** <https://forum.kirupa.com/t/problems-with-netstatus-events-and-buffering/323286>\
**Category:** flash\
**Created:** [June 23, 2011, 6:25pm UTC](https://forum.kirupa.com/t/problems-with-netstatus-events-and-buffering/323286 "2011-06-23T18:25:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_Martin](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Josh\_Martin](https://forum.kirupa.com/u/Josh_Martin)\
**Post date:** [June 23, 2011, 6:25pm UTC](https://forum.kirupa.com/t/problems-with-netstatus-events-and-buffering/323286/1 "2011-06-23T18:25:58Z")

</div>

So I know I’m deranged for still working with these flvs, but hear me out. I’ve read about the hassles of working with the buffer and it’s bytes. All I want is to know when it is buffering and put a spinny wheel on the screen while it’s buffering so it doesn’t look frozen (as is the popular thing to do now a days).

I’ve tried

```auto
case "NetStream.Buffer.Full":
                    trace(getTimer(), ":", this, this.name, "<STATUS>: NetStream Buffer Full");
                    _videoBufferingAnimation.visible = false;
                break;
                
                case "NetStream.Buffer.Empty":
                    trace(getTimer(), ":", this, this.name, "<STATUS>: NetStream Buffer Empty");
                    _videoBufferingAnimation.visible = true;
                break;

```

I’ve made sure the \_videoBufferingAnimation is on top (It actually has an addChild I deleted just before it)  
The buffering shows up initially, and dissappears as it should (although I’m not entirely sure that the video just doesn’t get added over it).  
But if I seek forward to a point of buffering, the vid freezes but the animation doesn’t show up…

Am I missing something dumb? or is there a better way to do this?
