AS3 Concepts Explained

How to optimise your AS3 code to make your Flash game run faster, smoother, and with less lag.

{ 34 comments }

Multidimensional Arrays in AS3

by Michael James Williams on January 13, 2010 · 62 comments

in Articles,AS3 Concepts Explained

Intro to 2D arrays, 3D arrays, and beyond, in AS3, using the “array-of-arrays” technique.

{ 62 comments }

Intro to Papervision3D with 3D Glasses [AS3]

by Michael James Williams on November 27, 2009 · 1 comment

in AS3 Concepts Explained,Tutorial

[AS3] Papervision3D tutorial for beginners, plus a look at how to create real 3D “anaglyph” images with Flash, to be viewed with those 3D glasses.

{ Comments on this entry are closed }

Ever traced tank.turret.rotation and found that it always returns zero, even when it’s clearly pointing diagonally?

Maybe you’ve compared the width of two identical objects, one obviously double the size of the other, and found that Flash thinks they are the same.

Every Flash dev I know has run across one of these and sat scratching their head — myself included!

So what’s going on?

Well, it’s all to do with addChild()

{ 31 comments }

Explains how Flash deals with angles. Also a bunch of functions with code for converting between degrees, radians, and rotations.

{ 17 comments }

Extends, Override and Super

by Michael James Williams on April 3, 2009 · 35 comments

in AS3 Concepts Explained

These are the three most important keywords for using class inheritance in AS3.

{ 35 comments }

AS3 Events Explained: Using Event Listeners

by Michael James Williams on February 6, 2009 · 35 comments

in AS3 Concepts Explained

This post explains what an event and an event listener is, how to use them, and why they are useful for Flash game development.

{ 35 comments }