Can I distort a bitmap in Flash?
what I would like to do is take the uploaded GIF file as a bitmap and then distort it by stretching and shrinking parts of it so it would look like it was curling against the screen.
I'm sure there is no easy way in Flash to go beyond scaling and panning, but I'm wondering if there could be some simple techniques to achieve this effect.
By the way, I also thought about pre-warping images in GIMP and saving them, but I can't find an easy way to do this without learning their scripting language.Thanks for your help!
+2
a source to share
1 answer
you should check DisplacementMapFilter
. This tutorial should be a good start: http://www.emanueleferonato.com/2007/12/03/understanding-flash-displacement-map-filter/
+3
a source to share