If i import an external image in as3, is it possible to manipulate it? I would like to have the corners curled a bit like its a piece of paper, would this be possible in code? I thought you could transform images etc but have no idea where to begin.
thanks in advance
Besides the basic manipulations described by @jhocking you can use PixelBender to create more complex effects like the page curl you would like.
PixelBender is not ActionScript; it’s actually an entirely different language and may be pretty hard to grasp at first. There are two steps in creating a PixelBender shader for use in ActionScript:
For more information, tutorials and video’s go to devnet: http://www.adobe.com/devnet/pixelbender.html
You can find an example of a page curl PixelBender shader here: http://superflashbros.net/2010/06/28/a-real-page-turner/
and here’s the demo: http://superflashbros.net/curl/