# curveTo drawing straight lines

**URL:** <https://forum.kirupa.com/t/curveto-drawing-straight-lines/155858>\
**Category:** flash\
**Created:** [July 20, 2005, 9:24pm UTC](https://forum.kirupa.com/t/curveto-drawing-straight-lines/155858 "2005-07-20T21:24:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyri](https://avatars.discourse-cdn.com/v4/letter/k/f07891/32.png) [@Kyri](https://forum.kirupa.com/u/Kyri)\
**Post date:** [July 20, 2005, 9:24pm UTC](https://forum.kirupa.com/t/curveto-drawing-straight-lines/155858/1 "2005-07-20T21:24:54Z")

</div>

Hi, I’m making a program for work which is supposed to draw a curve based on the information the user inputs. I have used curveTo , but it seems to be just drawing a straight line. I’ve posted the .fla for you to see what I mean - click in one of the text boxes, press enter, and it only draws it straight. Why is this happening?

P.S. I’m using MX.
