createMovieClip and drag & drop

Rookie for flash programming so, sorry for the question.
Happy with this code found on this site (http://www.kirupa.com/developer/mx/loading.htm) but…of course doesn’t work for more than one movieclip. Ideas?
Thanks

 
_root.createEmptyMovieClip("container",1);
container.loadMovie("photo.jpg");
container._x = container._y = 50 ;
_root.onMouseDown = function () {
 startDrag ("container",false) ;
}
_root.onMouseUp = function () {
 stopDrag () ;
}

The trick is to use a container for the movieclip you want to drag

 
myclip =_root.createEmptyMovieClip("h",3);
clip = myclip.createEmptyMovieClip("c",4)
clip.loadMovie("clubking.gif");
myclip.onPress = function()
{ 
this.startDrag(false);
}; 
myclip.onMouseUp = function()
{ 
 stopDrag(); 
};