RemoveChild On Stage

If I add a movieclip to the stage like this:


var feedbackBox_mc:feedbackBox = new feedbackBox;
feedbackBox_mc.x = 807;
feedbackBox_mc.y = 248;
addChildAt(feedbackBox_mc,1); // Add at level 1

How can I then remove it (on the click of a button)?

stage.removeChild(feedbackBox_mc); // TypeError: Error #2007: Parameter child must be non-null.

I can’t seem to find the object at level 1 on the stage


stage.removeChildAt(1); // RangeError: Error #2006: The supplied index is out of bounds.