4 Replies Latest reply on Jul 1, 2010 7:39 AM by rtalton

    Problem with TileList ItemRenderer with toggle button


      Hello everybody,


      I have a strange problem with TileList. If I have it to use a ItemRenderer that contains a toggle button, the toggled button changes to another button in the TileList when I scroll the tilelist or resize the browser.



      Here is the TileList in the main code:


      <mx:TileList itemRenderer="myRenderer" width="100%" height="100%" dataProvider="{itemAC}" />


      and here is the ItemRenderer used:

      <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="150" height="150">
          <mx:Button label="{data.label}" x="25" y="66" toggle="true" width="100"/>


      Its as simple as it could be.


      I have posted a working example here for you to try for yourself:



      Try to toggle some buttons and scroll and resize browser. Notice how the toggled buttons changes.


      You can view the source by right-clicking the app.


      I have tried both Internet Explorer and Firefox on Windows 7 64 bit and Windows XP 32 bit. Exactly the same error.


      Hope someone can help, since this is quite a showstopper!