You can make it self contained and send values as arguments to make it flexible for other situations where you need this with other clips:

PHP Code:
function moveFlexiblesIDName:StringnDistanceX:intnDistanceY:intnNumberToMove:intmcTarget:MovieClip ) : void {

   
// default to _root if no target mc specified
   
mcTarget mcTarget == undefined _root mcTarget;

   
// loop through the clips and apply co-ordinate changes
   
for( var i:int 1<= nNumberToMovei++ ) {
      
mcTargetsIDName ]._x += nDistanceX;
      
mcTargetsIDName ]._y += nDistanceY;
   }
}
moveFlexible"block"1005_root ); 
RipX