3 Replies Latest reply on Oct 7, 2014 8:59 AM by Devendra Kumar

    if current frame == "closedDoor" go to position "openDoor" else, go to "closeDoor"

    JordanTaler

      In Edge Animate: I want to have an if else condition and am having trouble.

       

      If door_btn is clicked...

       

      if (currentframe == "closedDoor") {

      gotoAndPlay("openDoor");

      }

      else(

      gotoAndPlay("closeDoor");

      );

       

      Can someone please help me write the proper syntax? Thank you!!!