Mc.onRollOut

I’ve a new problem…
I have a movieclip that shows an animation onRollOver and an animation on RollOut but onRelease the animation enlarge itselfs but now when I’ll roll out when the animation isn’t open (so i didn’t release) the animation plays the animation for the minimizing of the animation.

Here’s my code (I know its a bit amateuristic but I’m not a programmer :smirk: )

sEt = the name of the mc
oPEN = the label in the mc to enlarge
cLOSE = the label to minimize the mc
and oUT = the label to rollOut when the mc isn’t maximised

if(sET = oPEN) {
	sET.onRollOut = function() {
		this.gotoAndPlay('cLOSE');
	} 
} else {
	sET.onRollOut = function() {	
		this.gotoAndPlay('oUT');
	}
}

I hope sombody can fix this :slight_smile:

Jakke