Recent Additions:

Creating a Simple Web Advertisement

Toon Site Navigation Header

Creating Cool Celebrity Wallpapers

Shopping Site Animated Banner

Designing a Cake Shop Logo

Creating a Girlie Smiley

Drawing a Cartoon Horse

Colorful Beads Text Effect

XP Style Wind Mill Icon

Water Ripples Navigation Header

Shopping Mall Logo

Creating a Lovefool Smiley

Animated No Smoking Sign

Creating and Animating Incense Sticks

Creating a Futuristic Logo

3D Leather Text Effect

Changing Calendar Dates

Logo with Iconic Headphones

Animating a Dolphin Diving Into the Water

Creating Diamond Earrings

Animated Night to Day Effect With Rising Sun

 

Action Script


You can make any kind of animated flash movie only by writting Programming language or Action Scripts in Macromedia Flash.

Step One
Open Macromedia Flash MX. Now, select the Oval Tool (o) or Rectangle Tool (r) and make a circle or rectangle.
Step Two
Now go to Insert>Convert to Symbol and select 'Movie Clip' and press OK.

Step Three
In the Action Panel (Window>Actions or F9), choose 'Expert Mode' and type the code below.

onClipEvent (load) { xdirection=random(20)-10; ydirection=random(20)-10; } onClipEvent (enterFrame) { if(this._x>=630){ this._x=0; } else if(this._x<=0) { this._x=630; } else if(this._y>480) { this._y=0; } else if(this._y<=0) { this._y=480; } this._x=this._x+xdirevtion; this._y=this._y+ydirection; } Step Four
Now click Control>Test Movie (Ctrl+Enter) and you will see the circle/rectangle you've made is moving as it wish.
Now it's your turn to make some changes to the Action Script and see how does the animation looks like. In that way, you will
know and learn more about the action script.