The do..while loop is a while loop that guarantees that the code block is executed at least once, because the condition is checked after the code block is executed. The following code shows a simple example of a do..while loop that generates output even though the condition is not met.
var i:int = 5;
do {
trace (i);
i++;
} while (i < 5);
// Output: 5