简体   繁体   中英

Flex Spark Link Bar Background Color/Alpha

I am trying to change the background color and alpha of a link bar in a Flex/Flash 4 application. No matter what properties I define, the background of said link bar is always white. Please see the image http://i.stack.imgur.com/PyHs2.png .

<mx:LinkBar id="lnkBar" backgroundAlpha="0" backgroundColor="black" bottom="0" itemClick="lnkBar_itemClickHandler(event)">
            <mx:dataProvider>
                <s:ArrayCollection>
                    <fx:String>Resource Management</fx:String>
                    <fx:String>Standard Reports</fx:String>
                    <fx:String>Clear Selected State</fx:String>
                </s:ArrayCollection>
            </mx:dataProvider>
        </mx:LinkBar>

代替“ backgroundAlpha”或“ backgroundColor”,使用“ contentBackgroundAlpha”或“ contentBackgroundColor”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM