mc._alpha=0; function alpha100() { this.enterFrame=function(){ if(_alpha==100){ _alpha+=10; } } } mc.load= alpha100;