How to change the default Roll over color of LinkBar

I am using link bar and by default when I click on the links it shows the blue color in the link background. I want to change this blue color to green color. How do I do that?


You can try something like:

var colorTransform:ColorTransform = linkbar.transform.colorTransform;
colorTransform.color = 0x009900;
linkbar.transform.colorTransform = colorTransform;
linkbar.alpha = .2

Or create a custom button like this:

    textRollOverColor: #006699;
    textSelectedColor: #003366;
    /* Yes, this one controls the selected button's text color */
    disabledColor: #0099cc;

    /*Use DownSkin for Disabled to simulate Active/Selected Button */
    disabledSkin: Embed(source="theme1.swf", symbol="LinkButton_downSkin");
    downSkin: Embed(source="theme1.swf", symbol="LinkButton_downSkin");
    overSkin: Embed(source="theme1.swf", symbol="LinkButton_overSkin");
    upSkin: Embed(source="theme1.swf", symbol="LinkButton_upSkin");
    font-size: 14;
    font-weight: bold;

Need Your Help

Print stack trace information from C#

c# parsing error-handling stack-trace

As part of some error handling in our product, we'd like to dump some stack trace information. However, we experience that many users will simply take a screenshot of the error message dialog inste...