3 Replies Latest reply: Aug 12, 2010 6:00 AM by Ned Murphy RSS

    Set visibility to 0 is not working

    INVT Community Member

      I have button to set the visability property to a movie symbol called spec2 to 1

       

       

      which is outside of the movie on the main stage in its own layer.

       

      on (release) {
          setProperty("spec2", _visible, "1");
      }

       

      That part works.

       

      I am trying to nest a button inside the spec2 movie to set its own property

       

       

      on (release) {

          setProperty("spec2", _visible, "0");

       

      }

       

      Why doesn't this work?

       

      So far it shows the spec2 movie symbol but it does not want to close or set the property back to 0

       

      The roll over effect works on the nested button but the script does not execute.

       

      I am not sure what I am doing wrong. I am sure its simple but I'm just a novice.