2 Replies Latest reply on Oct 9, 2009 10:11 AM by tstatler

    adding a SkinPart removes parent SkinParts


      I am not sure what I am doing wrong as I have seen parent and children skin parts already. I subclssed Panel to make TitleWindow in spark. Everything works great if I have no skin parts in my TitleWindow.as , but as soon as I add my skin part, the other skin parts(from panel(title) and container(content)) disappear. My new skin part shows just fine and works as expected.


      public var closeButton:Button;


      in skin:

      <s:Button id="closeButton" top="5" right="5" width="20" height="20" skinClass="com.ericsson.components.skins.LogoutButtonSkin"/>


      I don't think my skin is the problem because if I remove the required=true and use the default skin the problem does not go away.