events.onRollOver = function() {
events.events_txt.textColor = 0xFFFFFF;
};
events.onRollOut = function() {
events.events_txt.textColor = 0x000000;
};
events.onRelease = function() {
events.events_txt.textColor = 0xFFFFFF;
}
I have these three actions associated with my MC. The problem is that when click then roll off the colour will change so I added this "
delete events.onRollOut;
" to the onRelease function so that it would not invoke the onRollOut and change the colour.
But what happens then is that if I change sections or try to rollover again the RollOut is now deleted and I cannot change it back.
So my question is how do I make this work? How can I reactivate the onRollOut action?
Thank you.