tags:

views:

3147

answers:

2

Using Flex 3, I have a Button which is skinned using PNGs specified in a CSS style sheet.

Button.addextra {  
    downSkin : Embed( source="img/add-extra-icon.png" ); 
    overSkin : Embed( source="img/add-extra-icon.png" ); 
    upSkin : Embed( source="img/add-extra-icon.png" ); 
    disabledSkin : Embed( source="img/add-extra-icon-disabled.png" ); 
}

My designer colleague would like to add a rollover effect of a hairline #999999 line outside the image. Is this possible (without creating a new overSkin png) using the standard Flex styles?

A: 

I believe you will need to change the overSkin, i think that would be the only way.

Ryan Guill
+1  A: 

What about drawing lines with Graphics?