Re: [flexcoders] Modify label text

2012-05-06 Thread Csomák Gábor
add the datachange event listener to the itemrenderer, and on datachange,
set the label, or the variable what you bind to it.
you can't bind functions.

On Sat, May 5, 2012 at 8:53 PM, cjacquel73 chjacque...@gmail.com wrote:



 Hello,

 How to modify the text of a label in an itemrenderer by a function like
 this ?

 s:Label id=labela text={getText()}/

 Thank you,
 Christophe

  



[flexcoders] Modify label text

2012-05-05 Thread cjacquel73
Hello, 

How to modify the text of a label in an itemrenderer by a function like this ? 

s:Label id=labela text={getText()}/

Thank you,
Christophe