Handling unknown number of vars

Hello I wonder if it’s possible… to pass an unknown number of variables to a function and do the same thing with each one.



TweenFilterLite.to ( border_mc, 0.5, {width:147, delay: 0.5, onComplete:remove_child, onCompleteParams: [photo_mc, web_mc]});

    private function remove_child (child):void
            {
                removeChild(child);
            }

As always, thank you!