Thanks for your reply, but this is not exactly what I need... :-} What I need is an (exotic) way to force the presence of certain states in a MXML component. For example we're developing www.belgacom.tv <http://www.belgacom.tv> in group and I want to make sure that everyone extending the "GeneralPortlet" class implements has at least these states: <mx: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> </mx:states> Can this be done? wkr, Hans.
-----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: maandag 15 januari 2007 15:44 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Interface class for states? Hey Hans, Look at this blogpost: http://casario. <http://casario.blogs.com/mmworld/2006/08/implementing_in.html> blogs.com/mmworld/2006/08/implementing_in.html succes ermee ; )