tags:

views:

1360

answers:

3

Does anyone know how to remove the default drop shadow from ApplicationControlBar?

I tried this but no luck:

<mx:Style>
     global
     {
      dropShadowEnabled:false;
     }
    </mx:Style>
+3  A: 

dropShadowEnabled can only be set in MXML mode but not in design mode. I don't know why it's not documented feature.

This works for me:

<mx:ApplicationControlBar width="80%" dropShadowEnabled="false">
        <mx:Button label="Test"></mx:Button>
</mx:ApplicationControlBar>
zdmytriv
A: 

Thnx thnx. This example help me a lots.

A: 

At runtime:

applicationcontrolbar.setStyle('dropShadowEnabled',"false");

bergi