Flex: Remove drop shadow from ApplicationControlBar?

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>

Answers


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>

At runtime:

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

Need Your Help

Parse JSON string as an array using JavaScript

javascript jquery arrays json

May seem silly for most of you but I need to parse a JSON string as an array using JavaScript.I'm completely new to JSON and JavaScript and trying to make sense since last two days.

Angular $http not resolving in $routeProvider

javascript angularjs angular-http route-provider

I am trying to display data from a JSON file onto the webpage. My Code