Mask and distortion Images

Hi, how does it’s possible make the distortion images at left and right margin using mask.

look this example please:
http://www.flashloaded.com/flashcomponents/360panviewerpro/

any suggestions?