for (i = 1; i <= _root.num ; i++) { var mc = _root['container'+i]; mc.onRollOver = function(){ this._xscale=100; } }