I want a LinkButton's style to stay unchanged when the mouse hovers over it. (But I still want the tooltip to work.) How do I do this?
(The mouseOver event seems relevant, and I do a noop() on that event, but my goal is to leave the style u开发者_JS百科nchanged rather than do something specific.)
By the way, I am using a non-default style, defining it with CSS in the MXML.
I haven't tried this, but you could set the 'overSkin' style to null in your CSS:
LinkButton
{
over-skin:null;
}
An in-line approach:
<mx:LinkButton
id="mrButton"
width="80"
label="Mr. Button"
skin="{null}"
toolTip="I am Mr. Button"/>
精彩评论