2 Replies Latest reply on Oct 25, 2010 7:46 AM by Radhakrishna Bhat

    Compile error when using a class by fully-qualified name

    TomBurgundy Level 1

      Hi... Is it an AS3 "feature" or a FB compiler bug that I cannot use a class without importing it?

       

      I have a statement such as

       

      if (de.codebank.util.StringUtilities.startsWith(status.name, phase.name+"_"))
      {
           ...
      }

       

      which does not compile until I import the StringUtilities class, which is pointless, of course.

      The compile error mentions an unknown property "util"