2 Replies Latest reply on Oct 17, 2013 5:42 AM by resdesign

    If statement for symbols position left?

    darkdeva1992

      Hi, I'm looking to create an if statment for a button.

       

      Basically I want play from a label If the X position of the a symbol is 0px.

       

      I've got this but it doesn't work!

       

       

      var slide2_nav = sym.getVariable("slide_2_beds");
      
      if(slide2_nav.css("left") === "0"){
      sym.playReverse("2to1");
      }
      

       

      future thanks!

       

      Jason