NOTE: Sadly I am no longer updating this blog. You can go to my homepage instead.
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...
Feb 12 2009

AS3 | Flash | Tools

Flash movie clip transformational properties explorer, manipulate values live!

I created this simulation to visually show the relationships between a movie clip’s (actually any display object’s) transformational properties (x, y, width, height, scaleX, scaleY, rotation, and transformational matrix). Drag the square around the “Stage” and move the sliders to transform it. Each property is prefixed with a dot “.” since in a real application [...]

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

Flash | Tips

Flash CS3 IDE not displaying all coordinate decimal places

Flash CS4 has corrected this issue, but in Flash CS3 the coordinates of a movie clip on the Stage are only displayed to the first decimal place (e.g. 100.5). So an x coordinate value of 100.55 would be displayed in the Properties panel as 100.5, yet still be 100.55 in the x property of the [...]

Read the rest of this entry...
Jan 07 2009

Flex | Tools

What command-line tools are included in the Flex SDK?

Inside the bin directory of the Flex SDK you will find a long list of command-line tools. The following is an overview of what these tools do: AIR Development Tools aasdoc – For creating documentation of the classes in an AIR application acompc – For creating a SWC component (a reuseable library of source code [...]

Read the rest of this entry...
Jan 06 2009

AS3 | Flex | Tools | Tutorial

Curious about Adobe Open Source? Get started with the Flex SDK on Mac OS X

How about creating a SWF that runs in the Adobe Flash Player without building it in the Flash or Flex Builder authoring environment, using tools that are free and open source? Ever since Adobe made the move from ActionScript 2.0 to 3.0 there has been a gem of a toolkit available that allows precisely that. [...]

Read the rest of this entry...
Dec 17 2008

Flex | Tips

What is Flex?

There was a question posted on the Flash Coders group on last night asking the simple question: “What is Flex?” I think reading about Flex for the first time can be a little confusing and intimidating, so here are some points to keep in mind: If you are coming from the Flash world, you can [...]

Read the rest of this entry...
Dec 16 2008

Flash | News

Showcasing my students work

The semester has wrapped up at Marietta College and I’ve posted the grades for my class: “Motion and Interaction.” I was really pleased with the enthusiasm and dedication my students showed throughout the semester, which made teaching the class a rewarding, educational, and enjoyable experience for me. To show my appreciation I will help my [...]

Read the rest of this entry...
Dec 05 2008

AS3 | Flex | Programming | Tips

Cairngorm versus PureMVC, the most basic example application!

Awhile back when I was learning to use the Cairngorm framework, Nicolas Lierman had a very basic example of a Cairngorm application. At the time I was trying to slog through the Cairngorm Store example, racking my brains trying to figure out what was going on. I didn’t need such a complex example to start [...]

Read the rest of this entry...
Nov 13 2008

Flash | Tips

Imported image renders as big red box in Flash CS3

I was working with one of my students on Tuesday to create a filmstrip-style photo gallery where the user could move to the left or right of the filmstrip center and the line of photos would scroll into view. I was looking at the student’s .fla and when I tested their movie the photos appeared [...]

Read the rest of this entry...