Adobe Director Online
 
The movie attempts to implement the raycastall() method. In the movie, 10 randomly placed spheres move towards a main sphere. They do so by using raycastall() in all directions until they get the direction of the main sphere. When they get the direction, a linear velocity is proportional to the distance between the spheres is assigned to the sphere. This makes the sphere move towards the main sphere.

You can download the source here.
 
 
spacer image
This is not an official site from Adobe. If you need any clarifications, please mail me at info@adobedirectoronline.com