Flash Explained

Learn Flash easily.

How to use the modulo operator (%) in ActionScript

October 12th, 2008 by Luka


Learn to use the modulo operator (%) in Flash! There aren’t a lot of explanations for it around, but it can be really useful in some cases. You will also learn the way a conditional statement in ActionScript works.

Read more…

Creating an analog clock with ActionScript using no design tools whatsoever!

October 12th, 2008 by Luka


I am most pleased to be able to show you how to create an analog clock in Flash using ActionScript only.

You won’t be touching any tools whatsoever. This is just about programming in Flash. Also, there is no timeline animation involved and no layers. And, this works in Flash MX, Flash MX 2004 and Flash 8.

Just look at the flash example below to see what is possible with actionscripting only.

Read more...

Creating gradient fills with ActionScript

October 12th, 2008 by Luka


Gradient fills are a little bit more complex than simple, plain color fills. But, they offer much more possibilites than the ordinary fills do.

1 Open a new document, call the first layer actions, click in its first keyframe, open the Actions panel and enter the following code:

_root.lineStyle(1, 0x000000, 100);
_root.moveTo(200, 100);
_root.lineTo(350, 100);
_root.lineTo(350, 200);
_root.lineTo(200, 200);
_root.lineTo(200, 100);

Read more…

Creating color fills with ActionScript

October 12th, 2008 by Luka


After you learned how to draw lines and curves with ActionScript, let’s see how to make shapes that will be filled with colors.

1 Open a new Flash document.Call the first layer actions. Click in the first keyframe of this layer and press F9 (PC) or ALT+F9 (Mac) to open up the Actions panel. Enter the following code:

Read more…

The basics of drawing with ActionScript

October 12th, 2008 by Luka


Flash gives you the great possibility to create graphics dynamically, that is, while your movie is running, via ActionScript. So, not everything has to be drawn manually. What are the benefits of this method of creating graphics? First of all, it reduces the filesize of your Flash movie. Second, it opens up an infinite number of possibilities for greater interactivity, creativity and more. And, best of all, it is very easy to learn. So, let’s start with the basics of drawing with ActionScript.

Read more…

How to make a stylish bouncing logo animation

October 12th, 2008 by Luka


In this lesson you will learn how to create a cool logo, that will “land” on the scene by bouncing off it. You will also see:

  • How to make outlined text in Flash,
  • How to fill all the letters of your logo with the same color gradient fill easily,
  • How to add a drop shadow effect to your logo in a snap,
  • How to make the logo accelerate and slow down when it bounces,
  • How to make a smooth fade-in animation effect and also some more!

Read more…

Making a movie clip chase another movie clip by using a motion guide

October 12th, 2008 by Luka


With this lesson, you are going to learn how to make a motion guide that two movie clips will follow, one after another. This is one of the basic animation techniques in Flash. The example below shows the final result you’ll achieve at the end of this animation lesson.

Read more…

Designing a Pac-Man with frame-by-frame and motion tween animation

October 12th, 2008 by Luka


In this tutorial, you will use the basic animation techniques in Flash to create a moving pac-man! There is no better way of learning a technique than by working on a real-world example.

You can see the nice animation below – you’ll learn the necessary techniques to create it in this easy lesson.

Read more...

Create a Flash ad banner with random color stripes effect and time-limited animation

October 12th, 2008 by Luka


In this easy lesson made for Flash MX, Flash MX 2004 and Flash 8 I will show you how to create a Flash banner ad that fits specific needs of the website it will be displayed on. The unique behaviour of this banner is that it will perform a random display of colored stripes for 9 seconds, after which it will come to a standstill.

Some websites have rules for advertisers who want to show their banner ads, specifying the duration of the animation in a banner. This is made so that the users don’t get bugged and visually distracted while they are reading the page which contains the banner. A user will see the animation, judge by herself if she will click the banner or not anyway. After that, stopping the animation makes the website containing it more user friendly.

Have a look at the example banner below: eoll your mouse over it to see what happens. If you missed the random color stripes effect, just hit the Refresh button on your browser and you’ll see it.

Read more...

Creating a 360° panoramic view ad banner

October 12th, 2008 by Luka


I will show you in this lesson how to create a 360-degree pan banner. It is very easy to make – basically, this is an animation tutorial.

You will learn how to:

  • Position a 360° panoramic image,
  • Make an animation inside a movie clip,
  • Create a message for your banner and animate it,
  • Set up an invisible button and make it clickable, and more.

Below is the example of the ad banner you are going to make.

Read more...