Web Design Resources & Tutorials to help you design the best website!
So I am pretty sure everyone saw this example where you are able to twist around the image and distort it around as you want. All I am doing here is splitting up the image into smaller triangles to be able to control the image more precisely and using the Formula that was provided on FlashAndMath. This example uses new Flash Player 10 Methods and the latest Flex 4 SDK, so If you want to play around with it then you need flash player 10. I have provided some sample pictures of what you can do with it. Next Up Example: using this method and formulas to create a Cover Flow Component that uses the native Flash Player 10 API, This will be around a 3-4 Part series.
The Example:, Click Here For Source,
IMAGES ARE BELOW:




4 Responses to Flex 4 (Gumbo) using the drawTriangles Method in Flash Player 10 to distort images
Greg J
August 27th, 2008 at 10:15 am
Pretty cool Sherif, very interesting!
felix
September 4th, 2008 at 4:12 pm
Does Flex 4 support Flash Player 10 API out of the box, or do I still need to hack it like this: http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta ?
Sherif
September 4th, 2008 at 7:05 pm
You need to change the HTML Wrapper in the COmpiler Settings to 10.0.0 and In the PlayerGlobal, u need to point to the Flash Player 10 swc and that is about it.
CT Yeung
March 16th, 2010 at 11:47 pm
What ? 2008 ? Flex 4 wasn’t around then ?