Using the flex viewer 2.4 and Flex 4.5 SDK. I have a bunch of map graphics stored in a map layer. Initially, each graphic is set to visible = false. At the click of a button, I want to loop over each graphic, set it to visible = true, wait three seconds, then onto the next graphic and do the same.
Problem: the graphics don't become visible in the loop - they become visible all at once after the button click event handler has returned.
I've tried doing a refresh() on the graphics and the graphic layer in the loop, but that does not help.