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:
How can I invert the curve the object would follow? I'm trying to make a flower follow this curve:
onClipEvent (enterFrame) {
this._x = this._x+getTimer()/1000;
this._y = (-10)*Math.sqrt(this._x)+500;
trace(this._x+"and"+this._y);
}
thanks.