May be you forget to place the [Bindable] tag while declaring the object data
if this post answers your question or helps. please mark it as such
1 person found this helpful
data is property he/she got in his/her itemrenderer ( seems used in itemrenderer ), not any object declared.
however, using data as bindable property didnot show any errors/warnings yet, we all use it while using itemrenderer.
may be the function is not declared bindable.
does your code run fine( displays output as expected )?
yaeh wrkos fnie, jsut a lot of wannirgs one for ecah row
Actually 'profit' of the Object(data) is not a bindable property. So it is giving this warning.
To get rid off from warning remove curly braces from your Labels color property.
<mx:Label height="100%" color="outerDocument.renderMoneyColor(data.profit)"/>
Hope this helps
If 'profit' is a property in an ActionScript class you can possibly make it bindable. Placing [Bindable] before a publilc variable declaration or setter makes that property bindable. Placing [Bindable] before a class declaration makes all public variables in that class bindable.
When 'profit' is a field in an object, maybe in an ArrayCollection, you may have to try other techniques to get binding to wor. Your app may be working as expected, but if binding is not working, in some situations your app may not behave as expected.
This page has a good description of the issue:
If this post answers your question or helps, please mark it as such.