An alternative to bitmap transparency in Flash

When it comes to using transparent bitmap images in Flash often you will find using a PNG is your best option. However, a major caveat with using PNG images is the significant increase in file size compared to non-transparent image types such as JPEGs and (non-transparent) GIFs. This often becomes an issue when working on projects with limited allocated file size, such as banner ads.
Continue reading


Distort an image in Flash 10 with DrawTriangles

One of the coolest features to come out of Flash Player 10's new 3D capabilities is an addition to the Graphics class, the DrawTriangles method.

Most Flash designers discover early on that distorting a DisplayObject is impossible through the Flash IDE. This is unfortunately still the case (3D notwithstanding), however by making use of a bit of Actionscript trickery involving DrawTriangles we can create display objects that can be distorted dynamically at run time. Pretty cool I reckon!
Continue reading


Sending data with LocalConnection in Flash

As a follow up to my previous post titled “How to communicate between multiple Flash files with LocalConnection” I’m going to demonstrate a slightly more advanced way of using the LocalConnection object in Flash.
Continue reading


Trigonometry for Flash: A Visual Reference

Trigonometry is something any aspiring Flash developer should learn. It is the cornerstone of becoming better at manipulating graphics purely with code.

I am certainly not a math guru by any means. I often find myself having to flip through a book or dig through previous projects to find the formula for getting the angle of a vector or the distance between 2 points etc. So I have created an animated reference to trigonometry within the Flash coordinate space. This is very much for my own reference but I think others will find it useful.
Continue reading


How to communicate between multiple Flash files with LocalConnection

Have you ever come across a website containing banner ads of the same creative which appear to be in sync? Here I’m going to demonstrate how this is done by giving an example of how to use the LocalConnection class in Actionscript 3.0.
Continue reading