Flash Forge & Snippets

Here you can find some snippets of ActionScript and small script examples. You can find more of my examples available for download at Flash-Genie.

Numbers Generator

This is a numbers generator to randomly select 6 numbers to give me something to blame when the 6 numbers chosen on Telly aren't the ones I chose.

Looping through an array of images

This is a simple script that grabs the next image from an array, places it behind the one currently being displayed. It then fades out the "old" image revealing the newer. This is one of the most requested scripts on the forums, and my version.

Another Image Rotator


This script blends from one image using a technique I first saw on India2World.com (I think).

Colouring a MovieClip using the Color Object


This is another simple script that uses the Flash Color Object to mathematically  change the current color to the new selection.

 

Opening new windows


Maybe this is the original script used by Bill Gates but I doubt it. It grabs the data from an array and places it in a window. At Flash-genie.de is a version with images. This could be used for displaying information that is always similar in type, for example Formula One Cars.

 

Menu Boxes


I can't remember where I first saw this but I still find it great. Notice how the 12 days of Christmas song actually represents things from the bible. Something I didn't know until then

 

Rotate towards an object and move in that direction


Another all time favourite from the forums. This will rotate towards an object (in this case the Mouse cursor) and slowly move in that direction.