1 Reply Latest reply on Oct 22, 2009 5:29 PM by UbuntuPenguin

    Tilelist Treachery

    UbuntuPenguin Level 4

      Hello Everyone ,

        I am experiencing tilelist problems.  The first problem is that I have a total of 3 items in the tilelist and they all can be seen.  However , only the first two are clickable.  When I debug , it says that there are 2 items.  No , not 0 , 1 , 2 but 0 , 1.

        The second problem I have is that my image from my "data" object  is acting funny.  All three items have images that show up in the tilelist , however at initialization only the last one is visible.  Upon clicking the tilelist the last and only visible image disappears.  Here is the data for my custom renderer.

       

      <?xml version="1.0" encoding="utf-8"?>
      <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
                horizontalAlign="center" verticalAlign="middle"
                width="100" height="100" >
               <mx:Image id="theImage" width="50" height="50" source="{data.image}" />
               <mx:Label id="theLabel" text="{data.name}"/>
      </mx:VBox>

       

      Even if I embed my image , to avoid any data transfer problems , the problems remain.  Any help will be greatly appreciated and as always points will be awarded.