Why not add an extra container like VBox.  Put the bgColor in Application and the bgImage in the VBox ... just an idea ...
 
Philippe Maegerman


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith Unnikrishnan
Sent: mardi 26 juillet 2005 13:08
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: backgroundColor vs. backgroundImage

According to the 1.5 docs ..
|
Type: String   Format: File   CSS Inheritance: no
|Background image of a control. You can either have a backgroundColor or
a backgroundImage, but* not both*.

If it worked in 1.0, we might see it in 2.0??? :-)

Sree
Andrew Spaulding wrote:

> Yep good point. I have a jpg (20x1200 in size) that i have as my
> background image. Using the following CSS i only get the background
> colour in FP7 but the background-image works fine in FP8 beta. Any
> ideas? I'm sure I had this code working in Flex 1.0
>
> Application {
> background-image: "assets/images/background.jpg";
> background-size: "100%";
> background-color: #ABABAB;
> }
>
> Regards,
>
> Andrew Spaulding
> www.flexdaddy.info
>
>
> --- In flexcoders@yahoogroups.com, "m00n_de" <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > I use a backgroundImage out of a theme.swc. When my application loads
> > and the initialize preloader appears, the backgroundcolor is the
> > default gray, then when the theme has loaded my background appears.
> >
> > When i set a backgroundColor its used in the initalization but my
> > backgroundImage doesn´t appear :(
> >
> > Is there any way to combine backgroundColor and backgroundImage ?
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
> SPONSORED LINKS
> Computer software testing
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+testing&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg>
>       Macromedia flex
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=dAUcEV7do91-wrRtVS641g>
>       Development
> <http://groups.yahoo.com/gads?t=ms&k=Development&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=AlxNUQBOI7Io7S7nhmxV0Q>
>
> Software developer
> <http://groups.yahoo.com/gads?t=ms&k=Software+developer&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=QWIit8JayomoIHLVkV3FDg>
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "flexcoders
>       <http://groups.yahoo.com/group/flexcoders>" on the web.
>       
>     *  To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>       
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>




--
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




------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**

This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------

Reply via email to