I have a repeater which creates a child named “wholeProject” each time the repeater loops.
<mx:Repeater id="projectRP" dataProvider="{projectsHttp.lastResult.project}">
<Block:project
id="wholeProject"
oneDay="{(usableSize.width - 16)/14}"
projectID="{projectRP.currentIndex}"
creationComplete="getConflicts('project', 'l', false); getStudentYears();"
/>
</mx:Repeater>
As you can see from the last line of the piece, i have a the creationComplete option run two functions. What I would LIKE to happen is once the repeater is done loading all of the block:project pieces for each function to run once and only once. Instead, the two functions are running after each is created. I tried putting the creation complete in the tag, but that didn’t work.
Is there a way to tell the creationComplete piece to run only when the last piece of the repeater has been created?
You want to check out the repeatEnd event