Free ActionScript

Flash AS2 & AS3 Tutorials, Game Code, Effects, Source Files & Sample Downloads

Game Weapons – Pistols, Shotguns & Machine Guns

This AS2 example shows you how to make projectile weapons for your flash games; a pistol, a shotgun, and a machine gun. Holding down the mouse button allows you to fire continuously.

Note: Latest version of this script is located here:
http://www.freeactionscript.com/2009/06/flash-game-projectile-weapons/

Download Fla Sample

Download Fla Sample

Realistic Water & Wave Effect

Easy-to-use Flash AS2 dynamic water & wave effect.

Download Fla Sample

Download Fla Sample

To use, just copy the function and use it like so:
createWater(MyMovieClip);

Realistic Snow Fall & Snowflake Effect

First week of spring, and it snows in NYC…

Download Fla Sample

Download Fla Sample

Pushing MovieClip Objects

This script shows you how to make movieclips push each other without using complicated trigonometry.

Objects push each other based on mass, speed and direction of travel.

Download Fla Sample

Download Fla Sample