3 Replies Latest reply on Sep 26, 2013 5:08 AM by AMULI

    I cant figure out how to add a 3rd state to my button to show an active state

    HackyLovesLibby Level 1

      I  have a button with the following actions:

       

      click:

      sym.play(2000)

       

      ;mouseover:

      var mySymbolObject = sym.getSymbol("Guns_Nav")

      ;sym.$("Guns_Nav").css({opacity:.3});

       

      mouseout:var mySymbolObject = sym.getSymbol("Guns_Nav")

      ;sym.$("Guns_Nav").css({opacity:1});

       

      I cant figure out how to add 3rd action on my button, to show an active state (basically freeze the buttonts opacity until the next button is clicked)  while this portion of the stage is being visited.

       

      Thank you.