Passing binded value not work in custom module.

1 reply [Last post]
Joined: 11/05/2009
Points: 26

I am using a custom module to display the description data of an item in my playlist. It works just fine, however, when I try to use a binded value, nothing displays. Is there special code need to handle the following:

      <screen id="irScreen" styleName="plItemsListDark">
             ...snip...
             <Module htmlText="{this.description}" k_path="XXX/RichText.swf" ... />
             ...snip...
      </screen>

If I use htmlText with regular text like "blah blah blah", works fine. When I give it the "{this.description}" above, it shows nothing. htmlText is a simple, bindable, String variable in my module which is then binded to another component. If I replace it with a simple Label, the binded data comes down.

I suspect there is special code needed to handle potential binded data. Is there?

Joined: 01/05/2009
Points: 1697

Hi,

if you try to pass this.description to the text attribute, does it work?