Dynamically creating graphics


show more Dynamically creating graphics provides you with in-depth training on 3D + Animation. Taught by Paul Trani as part of the Flash Professional CS5: Animation Projects show less
please wait ...

Dynamically creating graphics

ActionScript is very powerful. It allows you to control graphics really well, and also allows you to create many graphics that can then be animated, as well. In this case I have this raindrop, and it's just one raindrop, but what if you need to create a whole landscape of raindrops, say about hundred of them? Well, animating all of those in a different way would take quite a while, and that's where ActionScript comes in handy. So first off, let's just go ahead and take a look at our raindrop that's currently being animated down.

Again, I am going to fill the sky with raindrops. The first thing I am going to do is just delete this raindrop layer, because I'm going to dynamically pull this raindrop from the library and place it on the stage. In fact, I am going to pull a hundred of them on. So let me go to my Actions layer and open up the Actions panel. Here is my current code and all this does is animate my raindrop. I don't even need these comments right here - so I...

Dynamically creating graphics
Video duration: 8m 54s 2h 31m Intermediate

Viewers:

Dynamically creating graphics provides you with in-depth training on 3D + Animation. Taught by Paul Trani as part of the Flash Professional CS5: Animation Projects

please wait ...