Loading home page automatically or removing children. Help! I am now desperate :(

Hello I am making my portfolio and trying to learn working with as3 at the same time. I have hit a rock now and I tried very hard to deal on my own but to no result:(
I get this error when I tried make my home page load automatically first.
[COLOR=“Red”]Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()[/COLOR]

I know what the problem is but I can’t find a solution… so I either need to figure out how to make the child to be the child of the caller or figure out another way to load the homepage at the beginning.

here is the code…Help is GREATLY appreciated !

import fl.transitions.;
import fl.transitions.easing.
;
import caurina.transitions.*;
import flash.display.Loader;
import noponies.display.FullBrowserBg;

//Assign CLICK listeners for each menu button
page01Button.addEventListener (MouseEvent.CLICK, buttonClicked);
page02Button.addEventListener (MouseEvent.CLICK, buttonClicked);
page03Button.addEventListener (MouseEvent.CLICK, buttonClicked);
//added this to try and solve unloading the 1st page
[COLOR=“Red”]page01Button.addEventListener (MouseEvent.CLICK, skipper);
page02Button.addEventListener (MouseEvent.CLICK, skipper);
page03Button.addEventListener (MouseEvent.CLICK, skipper);[/COLOR]
//Make the buttons look like buttons (hand cursor appears on hover)
page01Button.buttonMode = true;
page02Button.buttonMode = true;
page03Button.buttonMode = true;

//This loader is used to load the external swf files
var loader:Loader;

//URLRequest stores the path to the file to be loaded
var urlRequest:URLRequest;

//This array holds all the tweens, so they
//don’t get garbage collected
var tweens:Array = new Array();

//Stores the current page we are displaying
var currentPage:MovieClip = null;

//Stores the next page that we are going to display
var nextPage:MovieClip = null;
//load homepage first!
[COLOR=“Red”]//This is how I tried to load the 1st page and in this solution is where my problems started:([/COLOR]
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest(“page1.swf”);
myLoader.load(url);

function skipper(e:Event):void {
removeChild(myLoader);
}
function buttonClicked (e:Event):void {

//Create a new loader instance
loader = new Loader();

//If we clicked the first button, we load the page1
if (e.target == page01Button) {

	urlRequest = new URLRequest("page1.swf");
	loader.load (urlRequest);

}

//If we clicked the second button, we load the page2
else if (e.target == page02Button) {
	urlRequest = new URLRequest("page2.swf");
	loader.load (urlRequest);
	trace("Button 02 is working! :)")
}

//We load page3 since we know that page01Button or page02Button
//is not clicked
else {

	urlRequest = new URLRequest("page3.swf");
	loader.load (urlRequest);
	
}

[//We want to know when the next page is finished loading
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, fileLoaded);

}

//This function is called, when we have finished loading a content page
function fileLoaded(e:Event):void {

//The loader contains the page we are going to display.
nextPage = e.target.content;

//Let's animate the current page away from the stage.
//First, we need to make sure there is a current page on the stage.
if(currentPage != null) {

	//Tween the current page from top to bottom
	var tweenX:Tween = new Tween(currentPage, "y", Regular.easeOut, 
					currentPage.y, -500, 1, true);

	//Decrease the alpha to zero
	var tweenAlpha:Tween = new Tween(currentPage, "alpha", Regular.easeOut, 
					1, 0, 1, true);

	//Push the tweens into an array
	tweens.push(tweenX);
	tweens.push(tweenAlpha);

	//currentPageGone will be called when the tween is finished
	tweenX.addEventListener(TweenEvent.MOTION_FINISH, currentPageGone);
}

//There is no current page, so we can animate the next
//page to the stage. The animation is done in
//the showNextPage function.
else {
	showNextPage();
}

}

//This function animates and displayes the next page
function showNextPage():void {

	//Tween the next page from bottom(it was left if you put it -200) to under the menu
	var tweenX:Tween = new Tween(nextPage, "y", Regular.easeOut, 
					200, 15, 1, true);

	//Tween the alpha to from 0 to 1
	var tweenAlpha:Tween = new Tween(nextPage, "alpha", Regular.easeOut, 
					0, 1, 1, true);

	//Push the tweens into an array
	tweens.push(tweenX);
	tweens.push(tweenAlpha);

	//Add the next page to the stage
	addChild(nextPage);

	//Next page is now our current page
	currentPage = nextPage;

}

//This function is called when the current page has been animated away
function currentPageGone(e:Event):void {

//Remove the current page completely
removeChild(currentPage);

//Let's show the next page
showNextPage();

}