I'll get there one of these days:

<mx:Style>
    Button {
        overSkin: Embed("../assets/images/orb_over_skin.gif");
        upSkin: Embed("../assets/images/orb_up_skin.gif");
        downSkin: Embed("../assets/images/orb_down_skin.gif");
    }
</mx:Style>

-TH

--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 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" <hank777@> 
> 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 <TimHoff@> 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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