hi,
you need to define style for the drop shadow in your style as below:
Panel{
        borderSkin:Embed(source='assets/felixStyle.swf',
symbol='felixPanelBorder');
   dropShadowEnabled: true;
   shadowDistance: 8;
   shadowDirection: right;
   dropShadowColor: #333333;

titleBackgroundSkin:Embed(source='assets/felixStyle.swf',symbol='felixpanelHeader');
        color:#ffffff;
        fontFamily:Verdana;
        fontSize:14;

}


hope it may help
regards
shrikant
 

learner-2 wrote:
> 
> Hi all,
> 
> In my stylesheet i have done something like this :
> 
> Panel{
>         borderSkin:Embed(source='assets/felixStyle.swf',
> symbol='felixPanelBorder');
> 
> titleBackgroundSkin:Embed(source='assets/felixStyle.swf',symbol='felixpanelHeader');
>         color:#ffffff;
>         fontFamily:Verdana;
>         fontSize:14;
> 
> }
> 
> and now I have some where in my application a instance of titleWindow :
> 
> <mx:TitleWindow ....
> .............
> dropShadowEnabled = "true" />
> 
> the titleWindow gets the the look and feel of panel style but it does not
> shows shadow ..
> what could be the reason?
> 
> Regards
> PS
> 
> 

-- 
View this message in context: 
http://www.nabble.com/style-of-panel-and-titlewindow-tp15220693p15220756.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to