Actionscript help?

Axle12693

New Member
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;
}
 

LouTheDesigner

New Member
What is the output?

Do you get an error, or is it the case that nothing happens at all?

If you suspect that it isn't executing at all, add the following line to the end of the code within the function.

trace("working");

If there is no popup window that reads "working" then your code is not being executed at all.

Out of curiosity, why aren't you using AS3?
 
Top