Category Archives: Actionscript

Organising your Data Access Layer in an AIR Flex Application

With the advent of AIR technologies, the Flex developer now has the ability to save data to the bundled SQLite relational database, which is pretty much a requirement for any desktop application these days. Many Flex developers like myself that come from a Flash or front end background, may not necessarily be familiar with the [...]
Also posted in Architecture, Flex, Software Design | Comments closed

How to calculate the intersection of two circles mathematically in Actionscript.

A client of mine wanted to create an interactive teacher animation that pointed to a point on a chart that could be calculated as the result of a user quiz. They were stuck though as creating a realistic elbow movement that points to the desired point from a programmatic perspective is actually harder than it [...]
Also posted in Flash, Game development, Scripted Animation | Comments closed

What is Flex?

I suppose sometimes as a Flex or Flash developer you are so immersed in the whole SWF ecosystem that occasionally you get asked a question that should be easy to answer but becomes difficult to explain to someone without a technical perspective. The other day I was preparing a spec and getting a colleague to double [...]
Also posted in Flash, Flex | Comments closed

Introduction to collision detection & 2D physics

This is an introductory tutorial on collision detection and physics. Creating 2D physics is often daunting to the beginner flash programmer but as you will soon see it is really not that hard so long as you break everything down into small steps. Here we are going to create a world and populate it with [...]
Also posted in Flash, Game development, Scripted Animation | Tagged , | Comments closed