if/else scripting
Hi!
Here is my issue; there are two dropdown menus with 2 sub menus for both and an animated layer. i want to use dropdown menus to show or hide this layer in this way, if i selected, first sub menu of first dropdown menu and first sub menu of second drop down menu, the animated layer will hide (or show).
here is what i use for this. but in this way, i did not get what i want.
var menu1 = comp("kj v1").layer("controller").effect("kac tl")("Menu")
var menu2 = comp("kj v1").layer("controller").effect("kacinci soru")("Menu")
if (menu1 == 1) {100} else {0}
if (menu2 == 1) {100} else {0}
in this way, it is working perfectly for menu 2 but not for menu1. i need to combine if menu1 and if menu2 in the same command. Thank you!
