PNGDecoder.as

This class can transform a PNG image (loaded as a ByteArray) directly into a BitmapData. It's useful only when you want to load a lot of tiny png images and don't want to use the Loader.loadBytes(); method.

Boid.as

This is a simulation experiment based on the Boids work made by Craig Reynolds back in 1986. It simulates the behaviour of a bird flock, but it can also be used to simulate the moving behaviour of schooling fish or a bee swarm.

Unlimited transfer size using LocalConnection

The LocalConnection object can be really helpful for local applications, since it allows multiple swf files to be connected between each other. You can transfer data and even call functions of another application. But it has a limitation, you can only transfer up to 40kb worth of data on each data transfer.

Google AdSense CSV Graph Report

If you have a web site subscribed to AdSense, then this might interest you. This simple application generates graphs of your page prints, clicks, CTR, eCPM and expected income, all in one place. All you need to do is load a CSV file of your site and you are done! The CSV files can be generated under the Advanced Reports section of your AdSense panel.

 

SWFEncoder.as

This class can create SWF animations directly from the Flash Player. All it does right now is create image animations with full transparency and the ammount of frames each image will be seen.

AS3 port of JZlib

If you are one of those persons who like to work a lot with ByteArrays in Flash, you probably have noticed that the Flash Player (not AIR) doesn't have support for deflate in the ByteArray object. ByteArray ony can compress with the maximum compression level, and uncompress only if the compressed bytes have maximum compression. If you try to uncompress some bytes with another level of compression, you will get a runtime error.

BD9Grid.as

This class works like the DisplayObject.scale9Grid() function in ActionScript, but for BitmapData objects. What it does is split a BitmapData object in 9 pieces and resize each of them using the same rules as the ones for scale9Grid.

thumbnail

Creating a tank track with MoGraph

In this tutorial I will be showing up how to create a simple animation of a tank track using the module MoGraph for Cinema 4D. And for the animation part, you'll see that we won't be using keyframes at all.

TileScroller.as

A class that creates tiles from a BitmapData. You can achieve an infinite scrolling tile if you use this class inside a ON_ENTER_FRAME function.

JPGEncoder.as

This is a modified version of the JPGEncoder from Adobe. It's an event-based class that doesn't clog the computer with large images as opposed to the Adobe one.