var i:Number = qS.length ( например 20) while (i--) this['q'+i.toString()].onRollOver = function() {.....}