Recursive Curve created in ActionScirpt