10 Replies Latest reply on Jun 20, 2008 11:09 AM by Developer504

    Why is it giving me "undefined method" here?

    Developer504 Level 1
      I'm trying to declare this variable:

      private var timer:Timer = new Timer(uintPollInterval);

      and I am getting "Call to Possibly undefined method:Timer"

      I'm using this same variable declared the same way in two other Applications. As far as I can tell they are virtually identical in how they use this field. Can anyone point out why I am getting this error?