RE: [flexcoders] dynamic function in AS3/Flex.

2007-05-14 Thread Eude Romain
function in AS3/Flex. On Thursday 10 May 2007, Eude Romain wrote: public function myLabelFunction(item:Object, column:DataGridColumn):String { trace(path of the value we would like to display= + column.dataField); // this actually contains epar_document.id // works

RE: [flexcoders] dynamic function in AS3/Flex.

2007-05-14 Thread Eude Romain
- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Eude Romain Sent: 14 May 2007 16:59 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] dynamic function in AS3/Flex. Unfortunately this does not work. I have tried the following : public function

Re: [flexcoders] dynamic function in AS3/Flex.

2007-05-14 Thread Peter Hall
Sounds like you solved your problem. But if you needed a more flexible solution, there is an Xpath implementation for AS3: http://code.google.com/p/xpath-as3/ Peter

RE: [flexcoders] dynamic function in AS3/Flex.

2007-05-14 Thread Gordon Smith
] dynamic function in AS3/Flex. Sounds like you solved your problem. But if you needed a more flexible solution, there is an Xpath implementation for AS3: http://code.google.com/p/xpath-as3/ http://code.google.com/p/xpath-as3/ Peter

Re: [flexcoders] dynamic function in AS3/Flex.

2007-05-14 Thread Peter Hall
-- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Peter Hall *Sent:* Monday, May 14, 2007 9:46 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] dynamic function in AS3/Flex. Sounds like you solved your problem. But if you needed a more flexible

Re: [flexcoders] dynamic function in AS3/Flex.

2007-05-11 Thread Tom Chiverton
On Thursday 10 May 2007, Eude Romain wrote: public function myLabelFunction(item:Object, column:DataGridColumn):String { trace(path of the value we would like to display= + column.dataField); // this actually contains epar_document.id // works return

[flexcoders] dynamic function in AS3/Flex.

2007-05-10 Thread Eude Romain
Hi All, I am wondering if it is possible to read the value of a property to return another property value, which name is calculated. Example: in a datagridcolumn, the labelfunc is a callback that return the value to display in the column. The idea here would be to read the property