This is the demo for DIY mug application, which could upload the photo from user and edit the size, position, scale and angle
http://www.fishballstudio.com/demo/mug/mug.swf