Random animation

29.11.2007, 22:2
Submited in: Flash | Total Views: 48093

In this tuts, you have a chance to learn how to create random animation in flash using some objects and action script code. This animation is very attractive, but in the same time very easy for create.You only have to apply a little action script code on some object and that's it. Let's go!

Step 1

Create a new flash document. Press Ctrl+J key on the keyboard (Document Properties) and set your dimensions as whatever you like. Select any color as background color.Set your Flash movie's frame rate to 33 and click ok.

Step 2

After that, draw or import or type any text, object on which you like to apply random action script code. For this example, I have drawn a little circle.

Step 3

While the object,picture or text is still selected, press F8 key (Convert to Symbol) to convert this object into a movie clip symbol.

Step 4

Take the Selection Tool (V) and click once on the new made movie clip. After that, go to the Action Script Panel (F9) and enter this code inside the actions panel:


While the new made movie clip is still selected, duplicate it a lot (Shortcut key: Ctrl+D key). See the picture below.

We're done!

Test your Movie (Ctrl+Enter).

Download example

Are you a website owner?
Click here to register and submit your tutorials!

Browse by category

Most popular tutorials