I am trying to disable and enable onRollOver of certain buttons based on what is clicked and I can't seen to get it to work. This is the code I am working with:
Thanks a lot for any help!Code:but1.onPress = function() { but1.onRollOver.enabled = false; but2.onRollOver.enabled = true; } but2.onPress = function() { but1.onRollOver.enabled = true; but2.onRollOver.enabled = false; }