[FMX]Drawing a curve

I have this script t draw a straight line easing:

createEmptyMovieClip("yourMC", 1);
pos = 0;
yourMC.lineStyle(1, 0x000000, 100);
yourMC.onEnterFrame = function() {
		if (pos<=250) {
				this.lineTo(pos, 0);
				pos += 4;
		} else {
				delete this.onEnterFrame;
		}
};  

How can I make ajustments to draw a curve?