# removeMovieClip() problem

**URL:** https://forum.kirupa.com/t/removemovieclip-problem/315177
**Category:** flash
**Created:** [October 19, 2010, 4:01pm UTC](https://forum.kirupa.com/t/removemovieclip-problem/315177 "2010-10-19T16:01:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![butbeautiful](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@butbeautiful](https://forum.kirupa.com/u/butbeautiful)
#### Post date: [October 19, 2010, 4:01pm UTC](https://forum.kirupa.com/t/removemovieclip-problem/315177/1 "2010-10-19T16:01:48Z")

</div>

hi i have a fullscreen video playing at the background.

```auto
//makes loader visible on initial load
bufferClip._visible=true;

//create NetConnection for playing video
var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);

video_mc.theVideo.attachVideo(ns);

//sets delay in seconds before video playback, you can increase or decrease depending on size of video
ns.setBufferTime(buffTime);

ns.onStatus = function(info) {
	trace(info.code);
	if (info.code == "NetStream.Buffer.Full") {
		bufferClip._visible=false;
	}
	if (info.code == "NetStream.Buffer.Empty") {
		bufferClip._visible=true;
	}
	if (info.code == "NetStream.Play.Stop") {
		ns.seek(0);
	}
	if (info.code == "NetStream.Play.Start") {
		alphaTween = new mx.transitions.Tween (video_mc, "_alpha",
		mx.transitions.easing.Regular.easeOut, 0, 100, 1,
		true);
	}
};
//set your movie path here
ns.play("test.flv");

fullscreenMC._x = Stage.width / 2;
var stageL:Object = new Object();
stageL.onResize = function() {
	fullscreenMC._x = Stage.width / 2;
}
Stage.addListener(stageL);

```

and upon clicking a button, i want to goto a frame and will need to remove the video from that background mc (or rather make the video stop or disable the background sound.)

how can i go about now?

thanks in advance!
