Question about addChild() and removeChild() AS3


I am trying to add a movieclip from the library via AS. And then delete it
I make a new MC in the library port with a reqtangle from 50px at 50px.
Then i set the properies export for AS
Class: port_mc
Base class:flash.display.MovieClip

this is the script i use:

var port:port_mc;

for (var i:int = 0; i<5; i++)
port = new port_mc();
port.x = i * 80;
addChild (port);


the script places 5 instances of port on the stage. But only remove one off teh stage.
How do i remove all five of them.

ps: sorry for bad english…