for(i=1;i<=300;i++){ this["clip"+i].onRollOver = function() { this.gotoAndPlay("over"); hint.text = "over"; } }