ArgumentError: Error #2025:

Hi All

I have set up a series of buttons that show an image when rolled over and then the image disappears on roll out. A sample of the code I am using is below:

costume_btn.addEventListener(MouseEvent.MOUSE_OVER, loadCostume);

function loadCostume (e:MouseEvent):void {
var newCos:feather = new feather ();
this.addChild(newCos);
newCos.x = 600;
newCos.y = 222;

costume_btn.addEventListener(MouseEvent.MOUSE_OUT, closeBrad)

function closeBrad (e:MouseEvent):void {
removeChild(newCos);
}
}

scenic_btn.addEventListener(MouseEvent.MOUSE_OVER, loadScenic);

function loadScenic (e:MouseEvent):void {
var newCos:brad = new brad ();
this.addChild(newCos);
newCos.x = 500;
newCos.y = 100;

scenic_btn.addEventListener(MouseEvent.MOUSE_OUT, closeBrad)

function closeBrad (e:MouseEvent):void {
removeChild(newCos);
}
}

It works fine first time through but on roll out the second time you visit any button it gives me the following error message:

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
at MethodInfo-12()

What have I missed?

Thanks for your time y’all:jamesbond: