This blog has moved to a new location!

Thursday, September 17, 2009

Most common Flash Questions (AS3 FAQ)

When you help out beginners as much as possible each day, you tend to hear the same questions again and again (and again, and again).

Ignoring the fact that when I was little, I used to think FAQ was a bad word (not joking), I have here compiled a few links for threads with the most frequently asked questions in the ActionScript 3.0 Forums.

TypeError: Error #1009: Cannot access a property or method of a null object reference.
Hands down, with no doubt possible in anyone's mind the absolute #1 error. There are 2 possible causes:

Duplicating a MovieClip (or at least creating a new version of whatever you pass in) - Didn't realize the "constructor" property was so vulnerable. Nice discussion.

The difference between instance name and library name

The Dictionary Class (Passing in custom variables to Events)
Personally, I really like using it since it allows you to pass in other variables to events such as telling which URLs go to which buttons, so you can use one function for the onClick event. - Some sample usage

Wow! How can I learn to be a great coder like you?
First of all, I'm good with Logic, but sadly I often use Flash instead, which is often similar, just uglier and meaner. - Some great reading - The Flash and PHP Bible

The advantage of using static properties and functions
I need to dig out an old MSN messenger discussion on this as well. It's on my rediculously long todo list.

The strange way frames work in Flash - How frames really work. Might need some updating as this was posted early on when I was first learning Flash. - This guy still owes me a beer

There are plenty more, I just want to avoid digging through all 600+ of my forum posts for the gold nuggets. If anyone finds any more (by me, or anyone else for that matter) comment.


  1. hey great stuff - thanks man! appreciate your help on kirupa and followed you over to here.

  2. This comment has been removed by a blog administrator.