Because renderers are recycled. You can read more in the item renderers section in my blog (blogs.adobe.com/aharui)
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of mybgmail Sent: Tuesday, April 01, 2008 9:10 AM To: [email protected] Subject: [flexcoders] TileList is acting strange Hi. Do you guys have any idea why when i click on the first button and it's state becomes selected=true and I scroll down the first button that shows is also selected? // Main.mxml <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> "> <mx:Array id="myArray"> <mx:Object label="1 Moskow Treat..." /> <mx:Object label="2 Porka Catu" /> <mx:Object label="3 Wolk this way" /> <mx:Object label="4 Seleste" /> <mx:Object label="5 Moskow Treat..." /> <mx:Object label="6 Porka Catu" /> <mx:Object label="7 Wolk this way" /> <mx:Object label="8 Seleste" /> <mx:Object label="9 Moskow Treat..." /> <mx:Object label="10 Porka Catu" /> <mx:Object label="11 Wolk this way" /> <mx:Object label="12 Seleste" /> <mx:Object label="13 Moskow Treat..." /> <mx:Object label="14 Porka Catu" /> <mx:Object label="15 Wolk this way" /> <mx:Object label="16 Seleste" /> </mx:Array> <mx:TileList id="CameraSelection" height="250" width="150" maxColumns="1" itemRenderer="myButton" dataProvider="{ myArray }" useRollOver="false" /> </mx:Application> // myButton.mxml <mx:Button xmlns:mx="http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> " label="{ data.label }" toggle="true" />

