Noob Flash Rss

Flash Compile Error 1009

0

Posted by Aaron | Posted in ActionScript, Flash | Posted on 28-11-2009

TypeError: Error #1009: Cannot access a property or method of a null object reference

This error typically means that you have a variable that is being used to reference a property or method of an object, but it does not actually contain an object. You’ll most likely need to search through your code to find any place that are referencing a property with a dot following a variable name (E.g. myVar.height). The easiest way to test a variable is to trace the variable just above the variable.property reference to see if the variable value is null.

Related posts:

  1. Flash Compile Error 1042
  2. Flash Compile Error 1126
  3. SQL If / Else Statement
  4. Load XML in Flash (AS3)
  5. Simple Flash Button

Post a comment