There are two points that I need to let ray and find that to be on his way.
demo
http://vorodis2.com/test/raytest/
sors
http://vorodis2.com/test/raytest/RayAway.rar
//v0, v1, v2 - What is it??????
var v0:Vector3D = new Vector3D(-500,0,-500);
var v1:Vector3D = new Vector3D(+500,0,-500);
var v2:Vector3D = new Vector3D( +500, 0, +500);
var ins:Vector3D = ray.getRayToTriangleIntersection(_p0, _p1, v0, v1, v2);