Flash Explained

Learn Flash easily.

Learning to use the conditional if/else statement in Flash 8

October 16th, 2008 by Luka

In this lesson, I will explain to you what the ActionScript if/else conditional statement is and how to use it in your Flash movies through a visual example. You will learn:

  • What is a conditional statement,
  • What is a circumstance,
  • Various comparison operators and more.

Click on the dark area in the Flash movie below to see how the conditional if/else statement works behind the scenes to turn the light on and off.

Read more…

Making an interactive drawing sketchpad

October 16th, 2008 by Luka

In this lesson, I will show you how to create a an interactive sketchpad on which you and your users can draw. The sketchpad features an interface which allows you to change the thickness and the color of the line.

With this tutorial, you will learn:

  • How to create simple buttons and tell them what to do via ActionScript,
  • How to easily duplicate them,
  • What are the drawing functions in ActionScript,
  • What are movie clip and button events and how to use them
  • and more.

Play around with the sketchpad below to see what you’ll learn to create!

Read more…

Making an interactive country map

October 16th, 2008 by Luka


In this lesson, I will show you have to make a very useful and widely used element: an interactive map. Whether it be a country map, like the case is here, or an anatomical map of human body, city plan, an engine schema, etc., the method applied is the same. It is very simple, as you’ll soon see.

Click the buttons on the right side of the map situated below and see what do they show you.

Read more…

How to easily make a draggable mask with ActionScript

October 15th, 2008 by Luka

In this really easy tutorial, I will show you how to set up a mask via ActionScript and make it draggable.

Click on the rectangle in the Flash example below and drag it around to see what you’ll learn to create.

Read more…

Learning to create a scanning cursor that shows the mouse coordinates

October 15th, 2008 by Luka

Ever seen this small piece of interface that can look really cool? A little crosshair-like cursor that shows the mouse coordinates in real-time? Or a similar design in sci-fi movies, like some cyborg’s targeting system, for example?

You’ll see in my tutorial that it is really, really easy to make. Move your mouse over the Flash example below to see an example of that.

Read more…

Design a big animated promo button with scrolling text

October 15th, 2008 by Luka

In this easy Flash 8 tutorial, I will show you how easy it is to make an attractive and effective promo button. You will learn the following design techniques during the process of making this button:

  • How to make a nested animation – one that continually moves inside the button symbol itself,
  • How to use the blending filters in Flash 8 professional to give your button more depth and a more realistic look,
  • How to implement a mask to create scrolling text visible only in certain areas of the button and more.

Below is the actual example of the promo button that you are going to create in this tutorial.

Read more…

Making the complete internal preloader in Flash 8, with a loading bar and mathematical preloaders – part 1 of 3

October 14th, 2008 by Luka


In this tutorial, you will see how easy it is to create an internal preloader for your Flash site, complete with:

  • A graphical loading bar,
  • An animated text field showing the percentage of your Flash movie loaded so far and,
  • A dynamic text field showing the amount of bytes loaded and total bytes.

Moreover, you are going to learn:

Read more…

ActionScript trace method explained

October 14th, 2008 by Luka

The trace() method is your best friend in ActionScript. In this tutorial, I will show you how to use it so that you can check the values of variables, the number of iterations in a loop and the flow of a conditional statement. You will also learn what are comments in ActionScript and how to use them. Dive in!

Read more…

Creating a colored gradient background for your SWF movie via ActionScript

October 14th, 2008 by Luka

In this lesson, I will show you how to create a background for your Flash document using no design tools at all! Besides being far more easy to change then a drawn graphic, this background created with ActionScript will adapt itself automatically to any size your movie may have. But more on that later.

The examples below show what you’re going to achieve at the end of this tutorial.

Read more…

Creating a site that can change colors and visual appearance with a simple mouse click

October 14th, 2008 by Luka

In this tutorial you will learn to create an interface that will enable your users to change the looks of your flash site with a simple mouse click.

This makes for a more appealing and interesting site. Also, if a user has any preferences over colors used in your site, or finds it easier to read text at a different size or color, you will enable him to do exactly that, thanks to some simple ActionScript code.

Look at the example below – try clicking the three buttons in the top right corner and see what happens. Slick, huh?

Read more…