The data property is typed as Object so the binding code isn't going to know that it can safely read the data. Is your data object strongly typed? Maybe you can cast so binding will know what to do.
As for your GetIconFamily binding error, that sounds wrong. Can we see the code for that one? Maybe it's a bug. Matt -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba Sent: Friday, April 14, 2006 5:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ItemListRenderer Error Hello Flexors, I am getting a "binding" error while upgrading a working app from Flex2Beta1 to Flex2Beta2. Below is the code that shows the TileList control with a custom ItemListRenderer myThumnail.mxml ----- Error ------------------------------------------------------ warning: unable to bind to property 'URL' on class 'Object' (class is not an IEventDispatcher) --------------------- Does anyone know what might be the cause. Cheers, Tim ------------------- Calling.mxml -------------------------------- <mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{parentApplication.services.SEadminSvc.GetMyTemplates.resu lt}" width="100%" itemRenderer="myThumbnail" columnWidth="200" height="100%" dragEnabled = "false" backgroundColor="#C0CCD2" creationComplete="InitEvent()" > </mx:TileList> ---------------- myThumnail.mxml --------------------------- <?xml version="1.0"?> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="center" verticalGap="0" horizontalGap="0" borderStyle=".5" width="100" height="150" > <mx:Metadata> [Event("thumbnailClicked")] </mx:Metadata> <mx:Script> <![CDATA[ import mx.controls.Alert; import flash.events.Event; public var __templateIdSel:Number; // Handler function private function thumbClicked(templateIdSel:Number):void { __templateIdSel = templateIdSel; this.dispatchEvent(new Event('thumbClicked',true)); // bubbles set to true trace("data.data.URL= " + "helloMyMan"); } // Getter functions public function get templateIdSel():uint { return __templateIdSel; } ]]> </mx:Script> <mx:Zoom id="zoomIn" zoomHeightTo="1.2" zoomWidthTo="1.2"/> <mx:Zoom id="zoomOut" zoomHeightTo=".7" zoomWidthTo=".7"/> <mx:Model id="model"> <ID>{data.data.ID}</ID> </mx:Model> <mx:Label text="{data.data.ID}. {data.label}" textAlign="left" fontWeight="bold"/> <mx:Image id="image" x="{image.width/2}" y="{image.height/2}" horizontalAlign="center" source="http://xKc.seg2.net{data.data.URL}" click="thumbClicked(data.data.ID)" scaleX=".7" scaleY=".7" rollOverEffect="zoomIn" rollOutEffect="zoomOut"/> </mx:VBox> ------------------------------------------------- -- 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 -- 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/