It comes out to 6.84 in Flash too, if you do it right. First
off, degrees

per radian is 180/Pi not Pi/180. And you want to get the
arctangent of the

value, which comes out in radians, then convert to degrees -
you don't want

to take the arctangent of the degrees....

So:

var degreesPerRadian = 180.0 / Math.PI;

trace(Math.atan(0.12) * degreesPerRadian)

6.84277341263094

HTH

--

Dave -

Adobe Community Expert

www.blurredistinction.com

www.macromedia.com/support/forums/team_macromedia/