1 Reply Latest reply on May 10, 2010 6:06 PM by JJ Rego

    Proper way to check for null functions?

    JJ Rego Level 1

      I have a function as a method parameter, that has a default value of null.  When I make my null check either as if (pointer) or if (null != pointer), flash builder thows a 3553 warning on that line of code (possible missing parens for function).


      I tried looking around websites but I couldn't find anyone discussing how to do a proper null check so that the builder doesn't throw a warning.  What the action script convention for doing function null checks?