Sent: Wednesday, August 24, 2011 8:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex 4 CSS
You can always use an image/BitmapImage as one of the children/elements
of a container. Doing so affects value of numChildren/numElements and
potentially other things in case
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Alex Harui
Sent: Wednesday, August 24, 2011 8:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex 4 CSS
You can always use an image/BitmapImage as one of the children/elements of a
container. Doing so affects value
I explained in the previous reply. Everything has a cost, and we chose not to
pack asset loading and positioning into the background of every container. It
is pretty straightforward to add it in a custom skin for the few containers
that need it.
On 8/22/11 10:16 PM, The Real Napster
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex 4 CSS
Jerry, the spark theme doesn't support backgroundImage. Every
capability has a cost, and we chose not to make the container
backgrounds as heavy as the Halo theme. It doesn't matter how many
lines of code
Of Alex Harui
Sent: Monday, August 22, 2011 11:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex 4 CSS
Jerry, the spark theme doesn’t support backgroundImage. Every capability has a
cost, and we chose not to make the container backgrounds as heavy as the Halo
theme
I too have tried in many ways, but could not resolve the problem. Doing few
more tests.
BTW one option is to use addChild();
Something like this.
var image : Image = new Image();
image.source = FSCalc/images/BannerBackground.jpg;
image.scaleContent = true;
Hello Alex,
Thanks for the note. I am wondering why new release build of flex/spark
does't have this feature? Its up to user whether to use it or not.
Background on components is the basic requirement of many clients now a
days.
Hope in future adobe will implement/add this feature. Thanks for the
I tried both BorderContainer and Panel, but neither would display an
image. I can get the background color to change, but not add an image.
Perhaps a skin will work, but I can't get it to work so far. I've
replaced the two lines of CSS with the default class panel skin which
is over 300
Jerry, the spark theme doesn’t support backgroundImage. Every capability has a
cost, and we chose not to make the container backgrounds as heavy as the Halo
theme. It doesn’t matter how many lines of code are in the skin if it doesn’t
include the logic to load and position images.
On
9 matches
Mail list logo