Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 17893
Total Votes: 149 votes
Average Rating: 2.82 out of 5
Category: Flash/Math & Physics
Description:Here are the steps I took to make this.
1. I created a sun movieclip and an earth movieclip and placed them on the stage with instance names ball1 and ball2 respectively.
2. I used FlashGuru's function that determines the distance between two movieclips and returns a distance object (with a slight modification).
3. Using the info in the distance object I determined what the velocities and accelerations of the bodies.