Hey folks! I have a bit of a stumper programming question:

Here's what's going on:

The following code tries to make Flash update a movie clip alpha property while in a do...while loop. Flash updates the alpha value inside it's memory, but the graphical result (ie the mc changes transparency) does not happen until after the do..while loop is totally concluded. Does anyone know why this is happening? Is it a bug inside Flash 5???

Here is the code: (I have created a mc named "round" whis is just a simple circle, and the script is inside a simple button. Both the button and mc are on the main timeline level:

on (rollOver) {
trans = 1000; //this is the loop count and alpha value
do {
trans = trans-1;
trace ("trans counter is "+trans);
setProperty ("round", _alpha, 20);
trace ("Alpha Property has been set to "+getProperty("round", _alpha)); //returns alpha value to output window
} while (trans>1);
}
on (rollOut) {
setProperty ("round", _alpha, 100); // this just resets the "round" mc
}

So there it is. What happens on rollover is that the alpha value changes (numerically) in the output window, but not until the loop has finished counting from 1000 down to 1 does "round" actually change in appearance.

Try it yourself, maybe I have something uniquely wrong going on here (besides my obvious computer ineptitude).

Thanks in advance for any help!