onRollOver and onRollOut problem

hey guys… it something simple but i am just stuck on this… ok here is the problem… i have a menu and want to use AC to make the roll overs and roll outs… this is what i use…



A = 5 //amount

for(i=1;i<=A;i++){
	knop = this["knop"+i]
	knop.i = i
	knop.stop()
	knop.onRollOver = function(){
		this.gotoAndStop(2)
	}	
	knop.onRollOut = function(){
		for(i=1;i<=A;i++){
			knop = this._parent["knop"+i]
			knop.gotoAndStop(7)
		}
		this.gotoAndStop(1)
	}
}


but somehow it does’nt work… why???

Mc structure is

root
|menu
|menu buttons
| |AC script
|MC buttons with animation