I think you can set up upSkin or overSkin, instead of just skin, but
your PNGs are ok too.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Dennis Falling
Sent: Thursday, July 10, 2008 10:14 PM
To: [email protected]
Subject: Re: [flexcoders] Re: Trick button into rendering
mouseover/mouseout states

 

Do you mean the CSS from the framework?  Because the only applicable css
I've seen is: 

LinkButton
{
/*    disabledIcon: null; */
    disabledSkin: ClassReference(null);
/*    downIcon: null; */
    downSkin: ClassReference(null);
/*    overIcon: null; */
    overSkin: ClassReference(null);
    paddingLeft: 7;
    paddingRight: 7;    
/*    selectedDisabledIcon: null; */ 
    selectedDisabledSkin: ClassReference(null);
/*    selectedDownIcon: null; */
    selectedDownSkin: ClassReference(null);
/*    selectedOverIcon: null; */
    selectedOverSkin: ClassReference(null);
/*    selectedUpIcon: null; */
    selectedUpSkin: ClassReference(null); 
    skin: ClassReference("mx.skins.halo.LinkButtonSkin");
/*    upIcon: null; */
    upSkin: ClassReference(null); 
}

Setting my over skin to ClassReference(null) makes it appear (I think)
like a normal button, while using
ClassReference("mx.skins.halo.LinkButtonSkin") will make it behave like
a typical LinkButton does when moused over.  Again though, it currently
looks great and behaves the way I want it to.  Is there a reason for me
to not do it just with an alpha image?

Thanks



On Thu, Jul 10, 2008 at 7:09 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Copy the LinkButton CSS and assign whatever was in upSkin to overSkin

 

________________________________

From: [email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]> ]
On Behalf Of Dennis Falling
Sent: Thursday, July 10, 2008 4:13 PM


To: [email protected] <mailto:[email protected]> 
Subject: Re: [flexcoders] Re: Trick button into rendering
mouseover/mouseout states

 

So no way that's purely CSS? Is there a reason for me to not use my
current hack (invisible PNG skins)?  Visually and functionally it's what
I want.

 

On Jul 10, 2008, at 5:30 PM, "Alex Harui" <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

        Maybe setStyle("overSkin", getStyle("upSkin"))

         

        
________________________________


        From: [email protected]
<mailto:[email protected]>  [mailto:[email protected]
<mailto:[email protected]> ] On Behalf Of Dennis Falling
        Sent: Thursday, July 10, 2008 12:52 PM
        To: [email protected]
<mailto:[email protected]> 
        Subject: Re: [flexcoders] Re: Trick button into rendering
mouseover/mouseout states

         

        I don't know of a way to give a link button a transparent mouse
over background.
        
        On Jul 7, 2008, at 2:11 PM, "nathanpdaniel" <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

                I'm not sure but what's the difference between a link
button and what 
                you're trying to accomplish? It seems to me what you're
looking for 
                would be easily accomplished with a little CSS & the
LinkButton 
                component rather than reskinning the Button component. 
                
                --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote:
                >
                > Interesting. It should work because the icon and text
is not a 
                child of
                > the skin. Maybe I don't understand what he wants or
what you tried.
                > 
                > 
                > 
                > ________________________________
                > 
                > From: [EMAIL PROTECTED]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> ups.com
<mailto:flexcoders%40yahoogroups.com>  
                [mailto:[EMAIL PROTECTED]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> ups.com
<mailto:flexcoders%40yahoogroups.com> ] On
                > Behalf Of Tim Hoff
                > Sent: Monday, July 07, 2008 10:02 AM
                > To: [EMAIL PROTECTED]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> ups.com
<mailto:flexcoders%40yahoogroups.com> 
                > Subject: [flexcoders] Re: Trick button into rendering 
                mouseover/mouseout
                > states
                > 
                > 
                > 
                > 
                > Doesn't work if you want to keep the button icons
visible. Wouldn't
                > this also affect embedded fonts?
                > 
                > -TH
                > 
                > --- In [EMAIL PROTECTED]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> ups.com
<mailto:flexcoders%40yahoogroups.com>  < <mailto:flexcoders>
mailto:flexcoders%
                40yahoogroups.com <http://40yahoogroups.com> >
                > , "Alex Harui" <aharui@> wrote:
                > >
                > > Skin the way you normally do, but set the alpha=0
                > >
                > >
                > >
                > > ________________________________
                > >
                > > From: [EMAIL PROTECTED]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> ups.com
<mailto:flexcoders%40yahoogroups.com>  < <mailto:flexcoders>
mailto:flexcoders%
                40yahoogroups.com <http://40yahoogroups.com> >
                > [mailto:[EMAIL PROTECTED]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> ups.com
<mailto:flexcoders%40yahoogroups.com>  < <mailto:flexcoders>
mailto:flexcoders%
                40yahoogroups.com <http://40yahoogroups.com> >
                > ]
                > On
                > > Behalf Of Dennis Falling
                > > Sent: Sunday, July 06, 2008 12:43 PM
                > > To: [EMAIL PROTECTED]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com> ups.com
<mailto:flexcoders%40yahoogroups.com>  < <mailto:flexcoders>
mailto:flexcoders%
                40yahoogroups.com <http://40yahoogroups.com> > 
                > > Subject: Re: [flexcoders] Trick button into
rendering
                > mouseover/mouseout
                > > states
                > >
                > >
                > >
                > > Over an alpha background though just setting their
colors won't 
                do it.
                > > I've done skins, but when I want a skin with
basically nothing
                > visible,
                > > would that be any different from what I've made?
                > >
                > > On Sat, Jul 5, 2008 at 7:25 PM, Alan ultraky@
                > > < <mailto:ultraky> mailto:ultraky@ > wrote:
                > >
                > > Could you just set the btn color and border to the
same color as 
                your
                > > background? Also, have you tried the Photoshop btn
skin scripts. 
                Makes
                > > it real easy to change the btn....in fact, id use
that...
                > >
                > >
                > >
                > > There's a demo on adobe.com to use it, but its so
easy you dont 
                really
                > > even need it.
                > >
                > >
                > >
                > >
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins>
<https://www> https://www.
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins>
adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%5Fskins> 
                > <
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25>
<https://www> https://www.
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25>
adobe.com/cfusion/entitlement/index.cfm?e=flex%
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25> 
                5Fskins> 
                > > <
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25>
<https://www> https://www.
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25>
adobe.com/cfusion/entitlement/index.cfm?e=flex%
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25> 
                5Fskins
                > <
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25>
<https://www> https://www.
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25>
adobe.com/cfusion/entitlement/index.cfm?e=flex%
<https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex%25> 
                5Fskins> >
                > >
                > >
                > >
                > > Alan
                > >
                > >
                > >
                > >
                > >
                > >
                > >
                > >
                > >
                > > On Jul 5, 2008, at 8:19 PM, Dennis Falling wrote:
                > >
                > >
                > >
                > >
                > >
                > > What's the best way to create a border-less button?
I'm trying to 
                pull
                > > it off with flexlib's enhanced button skin but it
appears to be
                > ignoring
                > > the font-family I set. Basically I just want a
button that has 
                text
                > and
                > > an icon and these will change color on mouseover. No
                > border/backgrounds
                > > should ever be visible.
                > >
                > > <http://dl.getdropbox.com/u/15760/replay.png>
<http://dl.getdropbo> http://dl.getdropbo
<http://dl.getdropbox.com/u/15760/replay.png> x.com/u/15760/replay.png
<http://dl.getdropbox.com/u/15760/replay.png> 
                > < <http://dl.getdropbox.com/u/15760/replay.png>
<http://dl.getdropbo> http://dl.getdropbo
<http://dl.getdropbox.com/u/15760/replay.png> x.com/u/15760/replay.png
<http://dl.getdropbox.com/u/15760/replay.png> > 
                > > < <http://dl.getdropbox.com/u/15760/replay.png>
<http://dl.getdropbo> http://dl.getdropbo
<http://dl.getdropbox.com/u/15760/replay.png> x.com/u/15760/replay.png
<http://dl.getdropbox.com/u/15760/replay.png> 
                > < <http://dl.getdropbox.com/u/15760/replay.png>
<http://dl.getdropbo> http://dl.getdropbo
<http://dl.getdropbox.com/u/15760/replay.png> x.com/u/15760/replay.png
<http://dl.getdropbox.com/u/15760/replay.png> > >
                > >
                >
                
                
                

 

 

Reply via email to