0 Replies Latest reply on Dec 21, 2007 7:33 AM by Kikhtenko

    Design mode: Definition of ... not found

    Kikhtenko Level 1
      Hi,

      I've created the class
      public class TextEdit extends TextInput

      When I'm trying to add localization to the class
      [ResourceBundle("components")]
      private static var resourceBundle: ResourceBundle;
      I'm getting the strange error.
      In the mxml designer I can't see this control, 'cause I see the error 'Design mode: Definition of TextEdit not found. Choose Design > Refresh if this component was recently created.'

      When I erase resourceBundle strings - everething works OK.

      Can somebody help me with this problem?