This content has been marked as final. Show 5 replies
Seems pretty straightforward. Are you sure you don't have the alpha of the button down part way?
When I changed the alpha of the button to 0, it made the button the same color as the background. I have also tried changing fillcolor, fillalpha and other proproperties, but as of yet nothing has worked.
Do you have a short version of the mxml code? I'm having a hard time understanding what's going on. If you have a short repro case, post it here so we can try it in a sample app.
In the simplest of examples, does this not work on your machine?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" alpha="1.0" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #FFFFFF]" width="200" height="200">
<mx:Button label="Button" fillAlphas="[1.0, 1.0]" fillColors="[#1631F6, #1631F6]" color="#FFFFFF"/>
Yes, the code worked. Now I can look up the properties that you used in the help section and should be able to figure out the rest from here. Thank you for your help.