Search tutorials
//Add the following script in the event of the moving circle.
with (_root.cardioid){
lineStyle (5, 0xFF00FF, 100);
lineTo (_root.x, _root.y);
lineTo (225, 65.3);
}
}
//The script above draws the lines that will trace our cardioid using the coordinates _root.x and _root.y
4. On frame sixty of layer1. Write the following line
stop();
5.Run your animation.
6.Play around by changing the size and shape of the motion guide and look what happens.
You can also change the "rotation" and "orient to path" options on the properties panel.
There may be some interesting shapes you might see.
Please rate this tutorial. :)
| » Level Intermediate |
|
Added: 2005-08-17 Rating: 5 Votes: 23 |
| » Author |
| A flash designer specializing in simulation of math and scientific concepts. |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!