A 2D vector class for AS3. Supports many operations: dot and cross product, rotation, tests for proximity, find orthogonal vectors, clamping, interpolation and more. Check the docs.
Take a look at
Vec2Test.as to see how to use this class.
Original work by playchilla, slightly reworked by azrafe7.
License: Use it as you wish and if you like it - link back!