Grass « Nature « Flash Tutorials

Home
Flash Tutorials
1.Actionscript Programming
2.Animals
3.Animation
4.Colors
5.Design
6.Effects
7.Game Cartoon
8.Humans
9.Models
10.Nature
11.Operations
12.Shapes
Flex
Flash / Flex / ActionScript
Flash Tutorials » Nature » Grass 

1. kirupa.com - Grassy Field: Case Study    kirupa.com

for (i=0; i<300; i++) { _root.grass.duplicateMovieClip("movie"+i,i); }

2. Field of Grass | Flash Tutorials    webdesign.org

Step 9: Great. Now your grass will know what to do when the "wind" hits it. But right now, if you run your movie (you can only view it by compiling it (Ctrl + Enter)) you'll only see one lonely blade of grass. To make a field, simply add this code in the first frame (you should need only one frame for this entire movie):

java2s.com  |  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.