Archive for the ActionScript Category

I use very often mask in my flash work. In this tutorial I’ll show to you how to add dynamicaly a mask to a movie clip and hot to make this mask able to be dragged using ActionScript. This example works for ActionScript 2.0, it doesn’t works at all for ActionScript 3.0. I promise I’ll write the tutorial about how to make flash mask draggable with ActionScript 3.0.

(more…)

In this tutorial it will be explain how to create a simple flash digital clock. A digital clock may be very useful for the visitors of your website and it is really easy to do. Let’s start!

(more…)

Sometimes the users don’t need the whole information available on your flash movie. When you create Flash applications it will take much more time to load if you have the whole content in one file than if you load the content user wants from external sources.

(more…)

Flash preloaders are very useful in keeping the audience involved while the main content is loading. That is why the preloaders should be fun and attractive.

 After you read this tutorial you’ll be able to create a flash preloader like the one below:

(more…)

hitTest() method is very useful for flash developers especially when creating games or elearning applications. In this tutorial I will  give a simple example on how to detect collision between two movie clips using hitTest() method.

(more…)

This tutorial is about how to load some content from a XML file in a flash project. It will be loaded a random text from the XML file.

(more…)

Drag and Drop activities are commonly found in flash applications, especially in elearning and games development. I’ll explain how to create simple Drag and Drop in Flash, but also some advanced methods about how to drag an object on a restricted area or how to drag on a specified vertical or horizontal line.

(more…)

It’s nice to have displayed current date on your website. A way to do this is to fit in a Flash banner. In this tutorial I will show you how you can display date in the format Wednesday, September 19, 2007 using ActionScript language.

(more…)

Gradient mask mean a mask that fades with the MovieClip masked, and not suddenly finished. For being more understandable see in the below how a gradient mask (the left circle) or a  non-gradient mask (the right circle) will look.

Gradient and non-gradient mask in Flash

(more…)

Typewriter effect in flash can be useful in creating banners or presentations. This tutorial explaines how to create a flash type writer effect using ActionScript.

(more…)