Loading movieclips onPress=function tutorial

Hi I am trying to use the code in one of the tutorials which loads a movieclip.
I need to load about 10 clips using the method below, but I can only get one to load. I will also need to make each of them draggable.
Any help greatly appreciated.

but.onPress = function () 
 _root.createEmptyMovieClip("container", 1);
 loadMovie("square.swf", "container");
 container._x = 150 ;
 container._y = 20 ;