I've got a script that builds a movable rectangle with 4 resizing verticies. I'm attempting to make it only resize proportionally but having mental errors trying to figure out the best way.
So far, I've got it keeping the rectangle, but I need some help making it proportional.
Verticies are layed out like so
0-3
| |
1-2
Currently if I move 2, it also changes the x of 3 and the y of 1.. thus keeping it squared up. Anybody feel like joining in on the fun?
Current SWF:
Souce:
-Dustin
Rom 8:28
So far, I've got it keeping the rectangle, but I need some help making it proportional.
Verticies are layed out like so
0-3
| |
1-2
Currently if I move 2, it also changes the x of 3 and the y of 1.. thus keeping it squared up. Anybody feel like joining in on the fun?
Current SWF:
Souce:
-Dustin
Rom 8:28