0 Replies Latest reply on May 8, 2007 6:48 AM by devel0per

    Graph parabola in flash?

    devel0per Level 1
      I need to create a parabola between 3 points which are controlled by a slider:
      the two points where the parabola crosses the x plane
      the y location of the vertex of the parabola

      I've tried adapting the code in:
      but that doesn't let you set the x points.

      I've got the code to set the location of the 3 points, but not sure what formula/convention I can use to draw the parabola between the points and have the ends extend across the grid?

      Anyone have any idea what formula I might use?

      See the code below to see what I'm talking about...or you can grab the fla at http://www.brianwpiper.com/gridParabola.fla