can you post your code please?
Thanks for the reply.
I am unable to attach the project, so please find it here:
Very odd behaviour.
The bottom button does not behave as a default button (pressing enter does not execute its click handler),
and if I click on the button manually, the skin disappears. Clicking on the top button brings the skin back for the bottom button.
PS. In my project I took this code from the skin does not appear on defaultButtons at all.
Thanks for your help.
let me add this to my flex project and check, will get back to you after checking it..
Sorry to say i have to jump into a meeting now and lets check after that
If a button is a defaultButton then it will be assigned the emphasized styleName. The default emphazied style sets the Button's skin to spark.skins.spark.DefaultButtonSkin. You can customize this via CSS:
But I had to qualify the Style entry with a namespace:
@namespace s "library://ns.adobe.com/flex/spark";
Works like a charm.
Also added logic in my skin to highlight the emphasized button.