Just wondering if anybody knows a way to make a buttons
border invisible. I am using images in my buttons and I don't want
to see the border around the button. So far this is what I have in
my css file. The top of the border is gone but the bottom of it and
85% of the sides are still visible. Thanks in advance for any
First off... Sorry... I posted this in the wrong topic... My
bad I though I was in the general discussion forum.
Second off I don't think you can eliminate the border in a
Button control, you could in Flex 1.5 but not in 2.0. Not sure why
but... there is a workaround. So instead of using a button control
I used a LinkButton control. I also got rid of the stylesheet entry
for the button and just created the control like this:
public function myMouseOver():void
public function myMouseOut():void
toolTip="Click here to read about our company!"
mouseOver="myMouseOver()" mouseOut="myMouseOut()" top="2"
left="20" width="115" height="156" />
This works great!!! I have the appearance of an animated gif
as a button in my Flex app now without the button border!!! I
included the two mouse events because I use them to change my mouse
pointer from an arrow to a finger. That way when the mouse goes
over the button, the picture in the button itself changes and so
does the curser.