DistortImage in AS3
June 25th, 2007 by kiroukou :: Contributions, Resources, en :: RSS 2.0Hi all,
it’s been a while without giving any news, but a lot of work lately.
I often receive some questions about the AS3 port of my DistortImage class.
Several people already port it I guess, as Alex Ulhmann and Carles Sanz who sent me their work.
Alex has done a kind of refactoring, to optimize and clean my old code resulting in 3 classes instead of one, and Carles offers a simple port.
So I finally take time to make them available to everyone interessted
DistortImage AS3 by Carles Sanz
[UPDATE]
Ruben Swieringa blog entry with link to his version with demo
Have fun,
Thomas


Carles Sanz’ implementation is nice (only one class, unlike Alex’s) but is doesn’t compile without minor fixes:
- ‘instanceof’ to change to ‘is’
- and explicit typing for the __concat method.