onClipEvent (enterFrame) {
this._x = this._x+getTimer()/1000;
this._y = (-10)*Math.sqrt(this._x)+500;
trace(this._x+"and"+this._y);
}
this script creates this curve:
Attachment 7410
How can I invert the curve the object would follow? I'm trying to make a flower follow this curve:
Attachment 7409
onClipEvent (enterFrame) {
this._x = this._x+getTimer()/1000;
this._y = (-10)*Math.sqrt(this._x)+500;
trace(this._x+"and"+this._y);
}
thanks.