Hi, is there a way to use an interface class to define a minimum sets of states in an MXML component? For example, I need to be sure that every portlet (a component extending the Canvas) has at least these states: <mx:State name="minimized"> </mx:State> <mx:State name="maximized"> </mx:State> <mx:State name="normal"> </mx:State> <mx:State name="icon"> </mx:State> <mx:State name="edit"> </mx:State>
Is there a way to check for the presence of these states when compiling? Like the implementation of an interface class checking for the presence of certain methods. Thanks, Hans.

