Hi, i've started working in Flex 2 last month. I am unable to achieve
something I consider simple even after googling a lot and reading my 3 books
(as3 cookbook, flex2 training and as3 design patts.).

 

I want to code a button skin which will display a highlight OVER the button
icon and text.

 

I want my updateDisplayList to do the following :

 

-          draw the button background (drawRoundRect)

-          draw the icon

-          draw the text

-          draw the highlight (another drawRoundRect)

-          draw a shadow (RectangularDropShadow)

 

After looking at Button.as, I'm afraid that the component is not flexible
enough for this.

 

Thanks for your help.

Laurent.

Reply via email to