NOTE: Sadly I am no longer updating this blog. You can go to my homepage instead.
Jul 08 2010

AS3 | Flash Builder | Flash Platform | Flex | News | Tools

July 2010 Auckland Flash Platform User Group Recap

This is old news now, but as per my personal tradition I wanted to post a short recap of the Flash Platform User Group meetup that happened July 1. First to present was Michael Andrew, who demoed FlexPMD, an auditing tool for ActionScript/Flex projects. Essentially the tool provides a set of recommendations of how your [...]

Read the rest of this entry...
Jun 04 2010

AS3 | Flash Platform | Flex | News

June 2010 Auckland Flash Platform User Group Recap

This month’s Auckland Flash Platform User Group Meetup began with a show-and-tell by the group’s usual host, VisFleet. CTO Aisha Fenton explained the business-side of VisFleet’s vWork software, a web-based task management application that allows a dispatcher to disseminate jobs to remote workers, who can log in via an iPhone app. Aisha provided an overview [...]

Read the rest of this entry...
Mar 18 2010

AS3 | Flex | News

March 2010 Auckland Flash Platform User Group Recap

Last night I attended the March meeting of the Auckland Flash Platform UG, held in the spacious offices of VisFleet. This was a great opportunity to freshen my knowledge on what’s happening in the Flash world. There were two presentations, with a break in the middle for the traditional developers meeting pastime of pizza and [...]

Read the rest of this entry...
Sep 10 2009

AS3 | Flash | Tips

This isn’t right… MovieClip nested inside Button throwing null object reference error in Flash CS4

A great thing about teaching is that your students approach problems in ways you haven’t done before and run into problems that you never knew existed. This is one such problem in Flash CS4 and a curious one at that. THE PROBLEM: A Button symbol is placed on the Stage on a frame other than [...]

Read the rest of this entry...
Aug 03 2009

AS3 | Tips

Creating a date countdown timer in ActionScript 3 / Flash

Creating a countdown timer in ActionScript is quite easy. The essentials of it are: Specify a target date to countdown to using the Date class. Create a Timer instance to check the countdown time each second or so. At each tick of the timer calculate the number of milliseconds between now and the target date. [...]

Read the rest of this entry...
Jun 20 2009

AS3 | Flash | Tutorial

How to build an Object-Oriented ActionScript 3 Preloader in Flash CS4: 2 Methods

The magic of creating a preloader in ActionScript 3 lies in the LoaderInfo class. Every instantiated DisplayObject instance (all objects that appear on the stage, plus the stage itself) have a loaderInfo property that returns a LoaderInfo instance that contains information about the loading progress of that particular display object. Creating a preloader for the [...]

Read the rest of this entry...
Mar 25 2009

AS3 | Flash | Tips

Common Flash Compiler Errors: #1046

This error shows the following in the Compiler Errors window: 1046: Type was not found or was not a compile-time constant: [Class name]. Quick Answer and Solution Where I have “[Class name]” above you will have any number of names listed, for example it may say Event, Sprite, TextField, etc. What this means is you [...]

Read the rest of this entry...
Mar 19 2009

AS3 | Flash | Tips

Common Flash Compiler Errors: #1042

This error shows the following in the Compiler Errors window: 1042: The this keyword can not be used in static methods. It can only be used in instance methods, function closures, and global code. Quick Answer and Solution Most likely you are you using the keyword “this” inside a class file, but it is not [...]

Read the rest of this entry...
Mar 13 2009

AS3 | Flash | Tips

Common Flash Compiler Errors: #1126

This error shows the following in the Compiler Errors window: 1126: Function does not have a body. Quick Answer and Solution By double-clicking on the error it will take you to the offending line of code. This error commonly happens when the end of line designator “;” is placed at the end of a function [...]

Read the rest of this entry...
Feb 26 2009

AS3 | Flash | Tips

Common Flash Compiler Errors: #1009

My students often run into the same kinds of errors, so I thought I would post some info on the more common ones. One very common error to receive in Flash is this one: TypeError: Error #1009: Cannot access a property or method of a null object reference. Quick Answer and Solution Somewhere in your [...]

Read the rest of this entry...