Yes right...
My bad

--- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> The 'upSkin' and 'overSkin' of a Button are styles. The 'source' of an
> Image is a property, not a style, and properties cannot be specified in
> CSS.
> 
>  
> 
> Gordon Smith
> 
> Adobe Flex SDK Team
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of guillaumeracine
> Sent: Wednesday, August 13, 2008 11:40 AM
> To: [email protected]
> Subject: [flexcoders] Re: Can I set the image source in CSS?
> 
>  
> 
> Sorry for my multiple reply...
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "guillaumeracine"
> <guillaume.racine@> wrote:
> >
> > Yes:
> > 
> > Button{
> > corner-radius: 0;
> > border-style: solid;
> > border-color: #FFFFFF;
> > border-thickness: 2;
> > up-skin: Embed(source="assets/upSkin.jpg");
> > over-skin: Embed(source="assets/downSkin.jpg");
> > color: #FFFFFF;
> > font-size: 10px;
> > }
> > --- In [email protected]
> <mailto:flexcoders%40yahoogroups.com> , "luvfotography" <ygroups@>
> wrote:
> > >
> > > For an image, can I set the source in css?
> > > ie.
> > > <mx:Image id="myimage" source="@Embed(source='../mypic.png')" />
> > >
> > > can I move the source to the css?
> > >
> > > or is there another way to do this?
> > >
> >
>


Reply via email to