# Video Loaded Help!

**URL:** <https://forum.kirupa.com/t/video-loaded-help/319330>\
**Category:** Uncategorized\
**Created:** [February 16, 2011, 3:27pm UTC](https://forum.kirupa.com/t/video-loaded-help/319330 "2011-02-16T15:27:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![izzo101](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@izzo101](https://forum.kirupa.com/u/izzo101)\
**Post date:** [February 16, 2011, 3:27pm UTC](https://forum.kirupa.com/t/video-loaded-help/319330/1 "2011-02-16T15:27:53Z")

</div>

How do I remove the video on the other pages?

I have this video I’m loading on a particular video page. It plays fine on that page, but when the user clicks to another page the video is still showing.

var nc:NetConnection = new NetConnection();  
nc.connect(null);

var ns:NetStream = new NetStream(nc);  
ns.client = {};

var video:Video = new Video();  
video.attachNetStream(ns);  
video.x = 150;  
video.y = 90;  
video.width = 640;  
video.height = 480;  
addChild(video);

ns.play(“video/make\_believe.flv”);

I tried using the removeChild action on the other page frames, but get this error:

TypeError: Error #2007: Parameter child must be non-null.  
at flash.display::DisplayObjectContainer/removeChild()  
at Mission\_Noir\_fla::MainTimeline/frame30()  
at flash.display::MovieClip/gotoAndPlay()  
at Mission\_Noir\_fla::menubuttons\_1/aboutClick().

Again how do I remove the video on the other pages?
