I dint realize that you are changing skins. The existing contentGroup's mxmlContent should be carried over to the new skin. This works fine for me:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <fx:Script> <![CDATA[ import mx.events.FlexEvent; protected function titleWindow1_initializeHandler(event:FlexEvent):void { titleWindow1.setStyle("skinClass",NewTitleWindowSkin); } ]]> </fx:Script> <s:TitleWindow id="titleWindow1" width="500" height="500" initialize="titleWindow1_initializeHandler(event)"> <s:Button label="Hello" /> </s:TitleWindow> </s:Application> You mentioned you are extending TitleWindow. Perhaps you are missing some "super" calls somewhere? Thanks, Om On Fri, Mar 14, 2014 at 4:41 PM, After24 <[email protected]> wrote: > Hi OmPrakash, > > > So this is a normal behavior for a component that inherits from > SkinnableContainer ? > > When a new skin is applied to that type of component the childrens of the > old skin contentGroup are not automatically added to the one from the new > skin ? > > Thank you. > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/Skinning-issue-tp5522p5543.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. >
