ok a couple of things, the the movie clips are only refreshed when teh playhead moves, so a “while” loop will only give the end result (in this case the alpha will be 100 at the end of the loop, after all the code has been executed, only then will the movieclip be refreshed, so the movie will go from 0 to 100% in one frame this way
so instead you need to simply have three frames, the first frame sets the value of the alpha to 0%, the second add’s 1% to the alpha:
if (myclip._alpha<100) {
myclip._alpha++;
}
the third makes the playhead loop back gotoandplay(2)…
the other thing is if this goes to fast then simply make it add less to the alpha
0.1 instead of 1