Can anyone help me translate this to AS3?
mc.tx = random(360);
mc.ty = random(360);
mc.xtempo = Math.random()/8;
mc.ytempo = Math.random()/8;
mc.xd = Math.random()*13+1;
mc.yd = Math.random()*10+1;
mc.x0 = mc._x;
mc.y0 = mc._y;
mc.onEnterFrame = function() {
this.tx += this.xtempo;
this.ty += this.ytempo;
this._x = this.x0+Math.sin(this.tx)*this.xd;
this._y = this.y0+Math.cos(this.ty)*this.yd;
};