Ok, I got a TileList bound to a dataprovider that uses a custom itemRenderer. The itemRendere code is below. When a click occurs on the up or down image, an event fires in the parent doc that calls a webservice, the result of is bound to the dataprovider of the TileList. easy, eh? Events fire, WS is called, bamm new data all purty. Except one piece. Seems the TileList is caching or reusing the renderer component instances or something. IIRC, this was a property in 1.5 that one could mod. I don't see it anymore. Anyone?
<?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" width="150" height="200" creationComplete="initMe()" cacheAsBitmap="false" > <mx:Script> <![CDATA[ private function initMe() : void { if(data.posnbr == Application.application.selectedPosnbr) up.visible = true; else up.visible = false; if(data.hasreports == 1 && data.posnbr != Application.application.selectedPosnbr) down.visible = true; else down.visible = false; } private function handleUpClick( event:Event) : void { Application.application.selectedPosnbr = data.reports_to; } private function handleDownClick( event:Event) : void { Application.application.selectedPosnbr = data.posnbr; } [Embed(source="/assets/images/up.gif")] public var upArrow:Class; [Embed(source="/assets/images/down.gif")] public var downArrow:Class; [Embed(source="/assets/images/logo.gif")] public var placeHolder:Class; ]]> </mx:Script> <mx:VBox> <mx:Image id="up" source="{upArrow}" visible="false" mouseDown="handleUpClick( event );" /> <mx:Label text="{data.employeeName}"/> <mx:Image id="pic" source="{placeHolder}" /> <mx:Image id="down" source="{downArrow}" visible="false" mouseDown="handleDownClick( event );" /> </mx:VBox> </mx:Canvas> -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

