Flex 3: creationComplete alert in repeater... question about getting repeater.currentIndex
- by Brds
I have a repeater to call a child... my code is as follows:
<mx:Repeater id="projectRP" dataProvider="{projectsHttp.lastResult.project}">
<Block:project id="wholeProject"
projectID="{projectRP.currentIndex}"
workingTitle="{projectRP.currentItem.workingTitle}"
projectTitle="{projectRP.currentItem.projName}"
startDate="{textToDate(projectRP.currentItem.startDate)}"
projectPositions="{XML(projectRP.currentItem.positions)}"
creationComplete="Alert.show(String(projectRP.currentIndex))"
/>
</mx:Repeater>
For some reason, the creationComplete piece isn't s