This tutorial covers 2 new cool features which are unique to Flash 6 and above. These are setMask and setInterval. This demo could not have been possible without these features.. or at least without setMask which really is the more interesting one of the two, for this example's purposes.
There are many websites in the Internet built using Macromedia Flash technology. You probably saw different types of scrolling on those websites. I would like to show you one of the easiest ways to create a scroll bar with the mask. It may be used not only for text scrolling but you may also put images into that scrolling.
Creat the Snake game where you eat food to become longer and try not to run into yourself. Works with Flash MX or higher. Customizable with your own colors and backgrounds, or change the code and change the whole game.
LoadVars class is the most powerfull class for communicating with server-side technologies and to load external data from text files. It was introduced in Flash Player 6 to provide a cleaner, much more object-oriented interface for the common task of exchanging data with a server and text files.