attachMovie Help

I am using attachMovie function to dynamic attached MCs depending on the database.

How can I overwrite the current attachMovie MCs with a new set of MCs at the same position and location after a click on a next button?