How to cut bitmap in pieces

Hi all,

how to cut a bitmap image in particular pieces specified by user. I want to create this in as3.

Please help me out …

Reference links can also help me.

  • soha