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

Motor 2

Script Image: 
motor_logo.jpg

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

Script author: 
Michael Baczynski

Bulk Loader

Script Image: 
util.jpg

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 author: 
Arthur Debert

Custom Registration Point for a MovieClip

Script Image: 
util.jpg

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 author: 
Oscar Trelles

AS3 Data Structures For Game Developers

Script Image: 
ds_logo.gif

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 author: 
Michael Baczynski

Pure MVC

Script Image: 
puremvc-0.jpg

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 author: 
Cliff Hall

Getting JPG dimensions without loading the entire file

Script Image: 
util.jpg

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 author: 
Antti Kupila

Box2D Flash

Script Image: 
box2d-0.jpg

Box2D is another physics engine worth to try. It was ported from the C++ library Box2D.

Script author: 
Erin Catto (c++) and Matthew Bush (as3 port)

FOAM Physics Engine

Script Image: 
foam_logo_0.jpg

FOAM is another physics engine created by Drew Cummins. His objective when creating this engine was to bridge the gap of a well documented, well structured physics engine which comes with comprehensive resources and tutorials.

The engine comes with API documentation and examples. New examples and tutorials should appear on his homepage.

Besides of the engine home you can download the files from http://code.google.com/p/foam-as3/

The engine is AS3 only.

Script author: 
Drew Cummins

TweenLite

Script Image: 
tween-lite-0.jpg

TweenLite is a tweening engine that was developed with the focus keeping its filesize as low as possible.

It is almost incredible, but it adds only 2kb to your projects. If you are creating flash web banners and their size should be small, this tweening engine is a must.

Despite the small size you can use features like delays, callbacks, pass custom arguments to the callback functions and use it in project of any scale (also the large ones).

There is also a lightweighted Filter Tweening extension.

Script author: 
Jack Doyle

Papervision3D Carousel Example FLA

Script Image: 
3d-carousel-0.jpg

PaperVision 3D is gaining popularity. Lee Brimelow provided on his blog a 3D Carousel Example based on this 3D engine.

Fla is Adobe Flash CS3 only

Script author: 
Lee Brimelow