Looks like the image is always centered, so your canvas workaround might
be best.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of alanmorehead79
Sent: Friday, May 11, 2007 7:45 AM
To: [email protected]
Subject: [flexcoders] Re: Help needed working with "backgroundImage"



--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "paulwelling" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I need a little help from the Flexperts on this list... This seems
> like it should be easy, so I'm feeling that I've missed something...
> 
> I have a .jpg that I want to use as our backgroundImage, 600x800, for
> the Application.
> 
> I do NOT want it to be stretched to fill up larger browser areas, so
> backgroundSize="auto" (default.)
> 
> I also want this backgroundImage to be positioned at x=0 y=0, all the
> time, no matter how big or small the browser becomes... 
> 
> The problem is that the backgroundImage for the Application gets
> centered, for the browser's' current size, no matter what I do.
> 
> A weak work-around is to create a <Canvas x="0" y="0"
> backgroundImage="image.jpg"/> and use absolute positioning for the
> Application. But I wanted to avoid absolute positioning and keep the
> image at the Application level...
> 
> Is this a limitation with FLEX, or more likely my thinking..?
> 
> Thanks for the help,
> Paul
>

Any luck w/ this?
I am going back and cleaning up a beta app and this is one of the
things that I would like to "fix". My beta app used the same
work-around of making a child canvas w/ a image background.



 

Reply via email to