Yes, if the data passed to the renderer is bindable, you can create a
custom renderer that will intelligently respond to changes.  I've been
having good luck with TileList and custom ItemRenderers.

        -----Original Message-----
        From: Alex Harui [mailto:[EMAIL PROTECTED] 
        Sent: Monday, February 04, 2008 12:35 AM
        To: [email protected]
        Cc: Battershall, Jeff
        Subject: RE: [flexcoders] How to get the reference of each
element in a TileList ?
        
        

        Try indexToItemRenderer().  Keep in mind that if you are
scrolling, not all renderers exist.  It is usually better to work from
with in the renderer than from outside the list.

         

        
________________________________


        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of bhaskar M
        Sent: Sunday, February 03, 2008 11:14 AM
        To: [email protected]
        Cc: [EMAIL PROTECTED]
        Subject: RE: [flexcoders] How to get the reference of each
element in a TileList ?

         

         

        Thanks for the reply.

         

        I tried using getChildAt method. But I had errors coming up when
I typecasted the returning element of getChildAt method into the
ItemRendered class which is in my case ServiceSelectorItem.

         

        I actually want to get the reference of each of the items of
TileList so that I can do some manipulations on them.

         

        Could you give me some sample code if you do not mind.

         

         

        Bhaskar.

         

        
        
        "Battershall, Jeff" <[EMAIL PROTECTED]> wrote:

                How about myTileList.getChildAt(index)?  TileList
shouldn't offer more performanc! e, as such, over Repeater, as the
TileList itself uses a repeater to layout it's children.  But it does
offer layout capabilities that you'd have to roll on your own with a
repeater and that could get messy.

                        -----Original Message-----
                        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of bhaskar M
                        Sent: Sunday, February 03, 2008 10:06 AM
                        To: [email protected]
                        Subject: [flexcoders] How to get the reference
of each element in a TileList ?

                        Hi

                         

                        I am replacing Repeater with TileList in my
Application as performance concerns..

                        I got struck in getting the reference of each
element in TileList.

                         

                        How to get the reference of each element  in a
TileList ?

                         

                        Thanks in Advance.

                        Bhaskar

                        
________________________________


                        Looking for last minute shopping deals? Find
them fast with Yahoo! Search.
<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc
h/category.php?category=shopping>  

         

          

        
________________________________


        Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs>  

         

Reply via email to