Adding a rollover effect to a skin button in Flex

Using Flex 3, I have a button that is stitched using PNGs specified in a CSS stylesheet.

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" ); 
} 

      

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

0


source to share


2 answers


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



0


source


How do I draw lines using Graphics?



+1


source







All Articles