I have a form in flash and i wanted the save and cancel buttons to only be clickable once the text in the form had been altered.
Therefore when the form first opens i set buttonName.enable = false on both of them. Then when the form is editted i have the change listener set both buttonName.enable = true.
This works fine however if they edit the form, and press cancel i set the save and cancel enable= false again. However there seems to be a problem setting a buttons enable property to false within its own onRelease as after if the forms is editted again the cancel button always returns in its down state (Im using the flash components built-in buttons).
Hope that makes sense. Any ideas why it does that or if there is a better way to do what im trying to do.