views:

116

answers:

2

I was wondering how to distort a Flex object like Panel so it looks like a trapezoid?

A: 

If you're really serious about this stuff, you should write it in ActionScript and pick up the book Numerical Recipes and read the chapter on "Computational Geometry". It will probably answer all your questions and more! Have fun :)

LWoodyiii
+1  A: 

Are you trying to do something like this? [Flex skewing]

    private function skewit():void {
        var smat:Matrix = new Matrix();
        smat.b = Math.tan(50);
        var mat:Matrix = myobject.transform.matrix;
        mat.concat(smat);
        myobject.transform.matrix = mat;
    }

http://livedocs.adobe.com/flex/3/html/help.html?content=15%5FGeometry%5F6.html

thebaldwin