3 Replies Latest reply on Sep 17, 2009 3:33 PM by Ned Murphy

    Button un-highlight on disable?

    chanson42

      In my code, when a user clicks on a button, I set the alpha of the button to 50 and set enabled=0. This works to essentially disable and grey out the button. The problem is that even though the button has been disabled, it still sits in the over state until the user moves the cursor off the hit area... Funny, no?

       

      Since you can't tell a button what frame to go to, how do I get it to go back to its up state (without recreating all my buttons as movieclips and doing the whole thing manually)?

       

      I'm sure there's a simple solution I'm missing here...

       

      Thanks,

      Caleb