0 Replies Latest reply on Oct 10, 2015 4:18 AM by marko80m8

    mouseover

    marko80m8

      Hello I am trying to set several buttons in a way when button content is opened then button stays red and if is not to go gray I used premade images for mouse over and mouse click etc

      this code is my problem

      how to check label on time line in the way if label r1 is active then button stays on click label and if not go to mouse over

       

      here is the code with problem on mouseover

       

      if (sym.getComposition().getStage().getSymbol("Ram-001").getAnimationPos("r1")) {

          // do one thing

        sym.getComposition().getStage().getSymbol("R1-D-001").stop("click");

      }

      else {

      // do something entirely different

        sym.getComposition().getStage().getSymbol("R1-D-001").stop("over");

      }

       

      its not working how to fix this pls help