Cutting images into parts dynamically in as3

I am trying to cut the bitmap image into two parts dynamically,when the user click on the different ends of the image.Is this possible in as3,If yes,how???