You are here : : Home > Free Resources > Flash Tutorials & Resources > Random Movement |
Basics
Animation & Effects
Actionscript
Miscellaneous
Flash Articles
Free Flash Resources
Other Flash Resources
|
Learn how to create random movement in Flash using movie clips and simple actionscript.
Please note:
1. You need to have Flash
Player 7.0 installed to view the Flash animation.
2. Flash MX 2004 or higher must be installed on your system to open the .fla file.
Create the dot movie clip
Add a new layer and name it dot . Draw a red dot with the oval tool, press shift so that the circle comes out round. Make the size 2px by 2px. Select the borders and delete them. Click on the dot. Go to Modify>Convert to Symbol from the Menu Bar.
A dialog Box named Create New Symbol will appear. Give the name as dot_mc. Select Movie Clip. Click on OK.
Repeat this for the heart moview clip. You can enter different values instead of 100 and 50 and experiment to see which looks the best.
Select the dot and copy and paste it to various places in the stage. Repeat this step 5 times and adjust the dots in the Stage by dragging them next to each other in different places. You can repeat the steps as many times as you want and change the values to give different movement. Copy and paste the heart in various places as well.
Congratulations! Your Flash Random Movement Effect is ready.
No portion of these materials may be reproduced in any manner whatsoever, without the express written consent of Entheos. Any unauthorized use, sharing, reproduction or distribution of these materials by any means, electronic, mechanical, or otherwise is strictly prohibited.