Hello. Thanks for you fast response.
In response to your questions, the tile is always bigger that image.
If i re-assign the dataProvider to the tilelist,
tilelist.dataProvider = element;
the image don´t appear. The image is loaded via HTTP, then the source
of image is like, http://webserver/images/thumbnail1.jpg. Can be a
problem?
--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> 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?
>
>
>
> ________________________________
>
> From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of gootish
> Sent: Thursday, November 03, 2005 4:28 AM
> To: [email protected]
> Subject: [flexcoders] Resizing images in a TileList
>
>
>
> 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
>
>
>
>
> SPONSORED LINKS
>
> Web site design development <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=C
omputer+software+development&w3=Software+design+and+development&w4=Mac
romedia+flex&c=4&s=126&.sig=ynjozILdtUiijfLjiz5l1Q>
>
> Computer software development <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+site+design+development&w2
=Computer+software+development&w3=Software+design+and+development&w4=M
acromedia+flex&c=4&s=126&.sig=i_RMdAMzxP1R8fB7NcnaqQ>
>
> Software design and development <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+site+design+development&
w2=Computer+software+development&w3=Software+design+and+development&w4
=Macromedia+flex&c=4&s=126&.sig=4g8hODKyQov1GXOxaXG2Sg>
>
> Macromedia flex <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+soft
ware+development&w3=Software+design+and+development&w4=Macromedia+flex
&c=4&s=126&.sig=hhODNnONza_qi3x2OWe-Qg>
>
>
>
>
>
>
>
> ________________________________
>
> 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:flexcoders-
[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
>
>
>
> ________________________________
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/