Random shape change when clicking in as3?

I want to do a flash application follow the imape file I attached here, does anyone know how to change a shape to random shape when clicking using as3?
Thanks for helping me