I've created the class
public class TextEdit extends TextInput
When I'm trying to add localization to the class
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.