Alguien me podria decir si este codigo esta bien escrito:t=0;
t=0;
vo=100;
angulo=-45*Math.PI/180;
vox=Math.cos(angulo)*velocidad;
voy=Math.sin(angulo)*velocidad;
t+=0,001;
x_inicial=0;
y_inicial=0;
_root.onEnterFrame=function() {
_root.bola._x=x_inicial+vox*t;
_root.bola._y=y_inicial+voy*t-4,9*t*t;
vx=vox;
vy=voy-9,8*t;
}
