Probably no more elegant, but an alternative:
package
{
import mx.controls.Button;
import mx.core.mx_internal;
use namespace mx_internal;
public class DeadButton extends Button
{
public function DeadButton()
{
super();
mx_internal::overSkinName = "upSkin";
}
}
}
-TH
--- In [email protected], Richard Rodseth <rrods...@...> wrote:
>
> I should have noted that this is for Flex 3.
>
> I created a subclass of ButtonSkin which overrides name() to return
"upSkin".
>
> If anyone has a more elegant solution please let me know.
>
> On Thu, Jul 22, 2010 at 12:35 PM, Richard Rodseth rrods...@... wrote:
> > Is there a simple way to set up a button so that it's appearance
> > doesn't change on rollOver, but the tooltip does appear?
> >
> > I am simulating a menu bar of sorts using a horizontal layout of
> > PopUpButtons and Buttons. The Buttons are just filler that need to
> > follow the style of the others, but have no associated action. But
> > some have meaningful labels and tooltips.
> >
> > In other words, I need to create a "dead" button with the same style
> > as others, and a tooltip.
> >
>