img1_mc._alpha = 0; img1_mc.onEnterFrame = function() { img1_mc._alpha += 2; if (img1_mc._alpha == 100) { delete img1_mc.onEnterFrame; } };