CIAO ,
Ho un problema con il questa funzione di calcolo, nell senso se imposto centerY e centerX funziona perfettamente, pero se entrambi imposto a 0, perde l'effetto 3d.

Sequalcuno sa come posso modificare questa prte dell codice
var s = (this._y - perspective)/ ( centerY+ radiusY-perspective);
this._xscale = this._yscale = s*100;


codice:
var radiusX:Number = 300;
var radiusY:Number = 100;
var centerX:Number = 200;
var centerY:Number = 100;
var speed:Number = -0.2;
var perspective:Number = 20;


function mover()
{
	this._x = Math.cos(this.angle) * radiusX + centerX;
	this._y = Math.sin(this.angle) * radiusY + centerY;
	var s = (this._y -  perspective)/ ( centerY+ radiusY-perspective);
	this._xscale = this._yscale = s*100;
	this.angle += speed;
	this.swapDepths(Math.round(this._xscale) + 100);
}
grazie in anticipo