I have a class in a file called KeyCodes.as and I’m trying to launch it from withing Flash IDE… What I’m doing is quite simple and should work but I get an error and I have no idea why…
TypeError: Error #1009: Cannot access a property or method of a null object reference.
The code I’m using is quite simple:
var a:KeyCodes = new KeyCodes();
What am I doing wrong ?