Directions: Click on either red square to draw a bezier curve using the Control point (blue square) towards the second red square. You can click+drag to move the blue square or the right red square.
Description: Using the Tweener class and the "CurveModifiers" addition to it, I am drawing a bezier curve from one point to another using a control point. It's pretty simple stuff, but when I was looking for example code, I didn't find much. You can use the curveTo function with the same points (start, end, and control) to draw a curve without tweening.
Download Code: ActionScript 3 Source Only
Code Credit: Alex Petrescu [ Contact ]