Unfortunately I can’t think of anything off-hand.  Have you looked at the photoviewer samples, they use TileLists with cell renderers that should work though we don’t do the resizing tricks.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of gootish
Sent: Monday, November 07, 2005 6:04 AM
To: [email protected]
Subject: [flexcoders] Re: Resizing images in a TileList

 

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

>
> ________________________________
>







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




Reply via email to