# FLV Buffer MC

**URL:** <https://forum.kirupa.com/t/flv-buffer-mc/275872>\
**Category:** flash\
**Created:** [November 19, 2008, 5:38pm UTC](https://forum.kirupa.com/t/flv-buffer-mc/275872 "2008-11-19T17:38:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![retribution](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@retribution](https://forum.kirupa.com/u/retribution)\
**Post date:** [November 19, 2008, 5:38pm UTC](https://forum.kirupa.com/t/flv-buffer-mc/275872/1 "2008-11-19T17:38:03Z")

</div>

Hiya,

I would like a custom MC to be visible when an FLV is buffering, and then go invisible when not buffering.

I have this script:

var isBuffering:Object = new Object();  
isBuffering.stateChange = function(eventObject:Object):Void {  
if(hellohello.buffering){  
\_root.bufferingMC.\_visible = true;

```
}

```

};  
hellohello.addEventListener(“stateChange”, isBuffering);

(hellohello is the name of my video on the stage.)

This script works just fine for making the clip visible when buffering.

How would I go about making it invisible when the clip is not buffering?

Any help would be most appreciated.
