Flex 3: creationComplete alert in repeater... question about getting repeater.currentIndex

Posted by Brds on Stack Overflow See other posts from Stack Overflow or by Brds
Published on 2011-06-23T13:44:11Z Indexed on 2011/06/23 16:22 UTC
Read the original article Hit count: 131

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about flex

Related posts about repeater