Free Flash Scripts site is a resource of flash scripts, frameworks, libraries and tutorials which are free and come also with source codes.

FIVe3D

Sometimes you need just a simple 3D animation and using the Papervision engine would be overhead.
In this case I do recommend taking a look on this light weighted but powerful engine, which makes displaying and manipulating objects in 3D easy.

AS2 version of this engine is also available.

Script Image: 
five_3d.jpg
Script author: 
Mathieu Badimon

Base64 encoder/decoder class

There are many possible use cases for an AS3 Base64 encoder / decoder class.

Let me introduced one of them. I had to distribute flash classes without attaching an image file to them. What I did was to put the image (a small logo) inside of an .as file. I simply Base64 encoded the image (using an online service) and then copied and pasted the string into the .as class.

I am sure you can think of even more situations where this class comes handy.

Script Image: 
util_1.jpg
Script author: 
Steve Webster

JW Media Player

JW FLV MEDIA PLAYER is probably the most advanced free flash multimedia player on the web. It can play any file format (images, video, music) which is supported by the Flash Player.

It comes also with an rich JavaScript API which makes it easier special functionality is required.

The player is open source for non commercial use, for commercial use you need to obtain a license, which is very affordable.

Script Image: 
jw-player.jpg
Script author: 
Jeroen Wijering

Sandy 3D engine

Sandy has been here before Papervision, which is very popular now. However Sany regained momentum and relesaed it's AS3 version.
Now, the Sandy 3D engine comes also with lots of tutorial which help you to start using it.

Script Image: 
sandy_logo.jpg
Script author: 
Thomas Pfeiffer (project starter) + Development Team

Motor 2

Motor 2 is another physics engine based on Box2D. Programmed by polygonal labs and looks very promissing.

Script Image: 
motor_logo.jpg
Script author: 
Michael Baczynski

Bulk Loader

Bulk loader is a very useful class for loading multiple images / swfs/ mp3 or other files into your project. It provides an easy interface to monitor the progress, to pause and resume or to stop loading the "bulk" or an individual file.
The class is very well documented, extremely easy to use. Using this class you will virtually save hours of development time.

Script Image: 
util.jpg
Script author: 
Arthur Debert

Custom Registration Point for a MovieClip

Actionscript language does not provide a method for setting a registration point for a dynamically created MovieClip. There are many workaround how to deal with this issue, one of them is this nice organized class called DynamicMovie. You set the registration point and then call methods like scaleX2 to scale the movie with the registration point you set.

Script Image: 
util.jpg
Script author: 
Oscar Trelles

AS3 Data Structures For Game Developers

Michael Baczynski, a flash developer from Germany is sharing his actionscript classes which he uses in GameDevelopment, but you can use the classes in any application.
In the structures you can find:

  • Collections
  • Multi-Dimensional Arrays
  • Queue
  • Stack
  • Tree
  • Binary Tree
  • Binary Search Tree (BST) and Hash Table
  • Linked Lists
  • Heap and Priority Queue
  • Graph
  • Bit Vector

The classes are AS3.

Script Image: 
ds_logo.gif
Script author: 
Michael Baczynski

Pure MVC

Pure MVC is a "state of art" Model View Controller design pattern AS3 framework. Probably you already know the Adobe's Cairngorm framework. Pure MVC is light-weighted and does not have all the features of Cairngorm, but this was the goal of it's author - the framework can be easily extended by the features you need, or you can download "add ons" which will be available in the near future.

Script Image: 
puremvc-0.jpg
Script author: 
Cliff Hall

Getting JPG dimensions without loading the entire file

Antti Kupila has posted a very useful utility for fetching jpg dimensions without the need to load the entire file.

This may come very handy in cases when you want to draw background or position other screen elements based on the jpg dimensions.

According to the author the class does not work with some jpg files (which probably do not have correct headers) so its 100% reliable only with jpegs you know / you have created.

Thanks Antti for sharing this class.

Script Image: 
util.jpg
Script author: 
Antti Kupila