This script will loop through all layers of the current document and convert all elements on each first frame to a movieclip. The movieclip name will be the layer name. So layer names must be unique! Spaces will be replaced by underscores.
Optional: Choose a prefix and suffix for the new movieclips Add a class & linkage id