Split photo into movieclips


i have a photo (jpeg, png, gif, …) and i would like to split it into “cubes”.
each cube will be a movieclip and should have a pre-defined size (e.g. 50 x 50 px).

i already know how to do the array and how to use the movieclips later on, but i do not know :

how to split the photo and store the region into a movieclip.

thanks a lot for your help,