4 Replies Latest reply on Mar 30, 2009 12:34 PM by ericbelair

    Why can't I use a public constant as an identifier?

    ericbelair Level 1
      Why does the following code throw the exceptions below?

      Exceptions:
      '{MyCustomEvent.DEFAULT_EDITOR}' is not a valid identifier.
      '{MyCustomEvent.MINI_EDITOR}' is not a valid identifier.

      I have done this before in another project, with no exceptions thrown. What am I not seeing?

      Thanks.