Could anyone tell me why this isn't working?
Code:
t = 0;
this.onEnterFrame = function() {
set("r" , Math.exp(Math.sin(t))-2*Math.cos(4*t)+Math.pow(Math.sin((2*t - Math.PI)/24),5));
_root.panel.lineStyle(1);
_root.panel.moveTo(r*Math.cos(t)*-50, r*Math.sin(t)*-50);
_root.panel.lineTo(r*Math.cos(t+.01)*-50, r*Math.sin(t+.01)*-50);
t+=.01;
}