Hmm, is the tile too small for the image
now? What happens if you re-assign the dataProvider after you’ve
adjusted the slider, do the images appear?
Hi, i have a little problem
with a TileList in Flex 1.5.
The cellrenderer of my TileList, is a
Thumbnail.mxml that´s only has
an mx:Image:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml"
horizontalAlign="center"
verticalGap="0"
width="100%"
height="100%"
hScrollPolicy="off"
vScrollPolicy="off">
<mx:Script>
var element:Object;
var thumb:Object;
function setValue(str: String, item: Object) {
if
(item==undefined) {
visible = false;
return;
} else {
element = item;
thumb = element.REPRESENTACIONES;
visible=true;
}
}
</mx:Script>
<mx:Image
id="image"
width="100"
height="100"
source="{thumb.THUMB}"
horizontalAlign="center"
verticalAlign="middle"
scaleContent="true"/>
</mx:VBox>
I have an mx:HSlider that´s determine the size of
the tilelist´s
items. When i change the value of HSlider, the
size of items changed
too, but the image dissapear.
Anyone can help me?
--
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
|
- RE: [flexcoders] Resizing images in a TileList Matt Chotin
-