This content has been marked as final. Show 5 replies
Post your code.
By the way, this is a Flex question, not an AS3, and there is much more traffic in the Flex forum.
I hesitated between the forums...
Thanks for your advice.
This is the AS code :
repeater = new Repeater();
BindingUtils.bindProperty(repeater, "dataProvider", this, "objectsData");
o = new Label();
BindingUtils.bindProperty(o, "text", repeater, "currentItem");
Not sure why you were taking this complicated route. But in Flex it is:
var myDP:ArrayCollection = new ArrayCollection();
var rp:Repeater = new Repeater();
rp.dataProvider = myDP;
var lbl:Label = new Label();
lbl.text = rp.currentItem.name;
perhaps it's because you are not strict coding?
I tried your code but did not have it worked ...