Thanks Tracy
Sorry I didn't think I had hijacked any thread - I was under the impression I had started this thread. Perhaps there was an identical one going on at the same time? Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: 01 October 2007 15:05 To: flexcoders@yahoogroups.com Subject: [SPAM] RE: [flexcoders] Passing a property of repeater item Paul, it looks like you hijacked this thread? That confuses some readers. One way to do what you want is to use getRepeaterItem. It is easier thatn subclassing, etc. click="displayHelpTopic(linkrep.getRepeaterItem().title)" Tracy _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Sunday, September 30, 2007 5:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing a property of repeater item I can't figure out how to pass a property of a repeater item to a function This is what I am trying but it is not working <mx:Repeater id="linkrep" dataProvider="{this.helpRelatedData}"> <mx:LinkButton label='{linkrep.currentItem.title}' click="displayHelpTopic(linkrep.currentItem.title)" color="#0000ff"/> </mx:Repeater> Basically I want to pass the value linkrep.currentItem.title but what I have tried above does not work. Anyone suggest how I can do this. The label is displaying correctly. Thanks in advance Paul