I have to agree with the dude, that its tough to say something like that to
a new person at flex. However, i was thinking the other comments were
correct, and that if you wanted the the button to look something else, you'd
have to use another skin. However, is you want to change the border from
color, you change the 'borderColor' style, if you want to change the fill
colors, you change 'fillColors'. At the top of updateDisplayList within the
ButtonSkin class you see this code:

 // User-defined styles.
 var borderColor:uint = getStyle("borderColor");
 var cornerRadius:Number = getStyle("cornerRadius");
 var fillAlphas:Array = getStyle("fillAlphas");
 var fillColors:Array = getStyle("fillColors");
 StyleManager.getColorNames(fillColors);
 var highlightAlphas:Array = getStyle("highlightAlphas");
 var themeColor:uint = getStyle("themeColor");

It would have been nice indeed to have the border style thingy in it.
Instead of bitching about the fact that Adobe did not put it in (we all
forget something eventually) i'd recommend you to write a class that has
that border style thingy in it and then share it with us so we can all use
that skin.


Greetz Erik

Reply via email to