Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

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

$
0
0

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!!!


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>