Create a Movie Clip from Actionscript generated objects

I am trying to mask an area with actionscript generated boxes. I know that the only way to do that is to make it a Movie Clip, but I can’t seem to be able to do that. I am really stumped on this. I really need someone to show me how to make this a movie clip. Any help would be greatly appreciated.