The idea is that we want to pass reference to this (usually a parent object of Repeater) to Repeater children.
You could use basic logic and try to do something like this:
<mx:Repeater dataProvider="{dP}"><layouts:Item controller="{this}" /></mx:Repeater>
[Bindable] private var _this:XXX;private function init():void{_this = this;}
<mx:Repeater dataProvider="{dP}"><layouts:Item controller="{_this}" /></mx:Repeater>
Brak komentarzy:
Prześlij komentarz