control bar


  
      <mx:VBox width="990" paddingLeft="0" paddingRight="0" horizontalCenter="0" top="12">
  
          <mx:ApplicationControlBar id="acb" width="100%" styleName="storeControlBar">
              <mx:Image id="image" 
                        click="toggleTheme()"
                        toolTip="Change Theme"/>
              <mx:ToggleButtonBar
                  height="100%"
                  dataProvider="{storeViews}"
                  styleName="storeButtonBar"/>
          </mx:ApplicationControlBar>
  
          <!-- using a creationPolicy of "auto" or "queued" has a bug at time of writing
               that prevents initial states from applying styles correctly.
               plus the instantiation of the cart view can cause a performance
               hiccup which we might prefer at startup -->