If you do:

Button
{

}

Instead of .myCustomButton, you'll only have to do it one, since I know you 
didn't want to do a lot of styling, Hank.  This'll ensure that you'll only 
have to put those 5 lines of code in your index.css, and your whole app's 
buttons will be affected.

----- Original Message ----- 
From: "Tim Hoff" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, July 15, 2006 10:57 AM
Subject: [flexcoders] Re: making a buttons initial state only include the 
contents.


Yeah, I meant to say in the help docs:

<mx:Style>
    .myCustomButton {
        overIcon:Embed("overIconImage.gif");
        upIcon:Embed(source="upIconImage.gif");
        downIcon:Embed(source="downIconImage.gif");
    }
</mx:Style>

For the up state, use your favorite image program and create an
image with a transparent background.

-TH

--- In [email protected], "hank williams" <[EMAIL PROTECTED]>
wrote:
>
> Hey Tim,
>
> Thanks, but I'm not quite sure I understand. Were you intending to
point me
> to an example? Also, the link button is OK, but the other states
are totally
> flat, and I didnt want to try to redesign what flash has already
done. For
> the particular button I am trying to do, the flex standard button
style
> would be excellent... if I could just get rid of that 'up" state!
>
> Hank
>
> On 7/15/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> >
> > Hi Hank,
> >
> > There's a good example how to make a class out of the embeded up.
> > over and down states of a button.  If you use a LinkButton you
would
> > only have to skin over and down.  The default state is just text.
> >
> > -TH
> >
> > --- In [email protected], "hank williams" <hank777@>
> > wrote:
> > >
> > > I want to create a standard flex button, but where the initial
> > state of the
> > > button only shows the text of the button. When you roll over
the
> > button, all
> > > of the rest of the flex "buttonstuff" would appear. So in the
on
> > rolled over
> > > text, the button would just look like plain text.
> > >
> > > I know I could somehow just make skins for everything, but that
> > seems like a
> > > very complex solution where I want to use almost all of the
> > standard button
> > > functionality.
> > >
> > > Does anybody know if this is possible.
> > >
> > > Hank
> > >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to