Hey Dan I thought I had this working but I guess I messed something up. I pasted my example below. The layer that has all my checkbox controls is in another comp. I’m wondering what I did wrong here?
The error message I’m getting is this:
Error at Line 1 in property ‘Color’ of layer 3 (‘Bottom Strip’) in comp ‘Home Team’. Unterminated string constant., an expression was disabled as a result of an error.
Bottom strip is the shape I’m trying to apply the custom colors to.
if(comp("!Team-Match-Up").layer("Home Team Control").effect("Alabama")("Checkbox”).value)
[255, 255, 255, 0]
else if (comp("!Team-Match-Up").layer("Home Team Control").effect("Arizona")("Checkbox”).value)
[68, 25, 212, 0]
else if (comp("!Team-Match-Up").layer("Home Team Control").effect("Arizona St")("Checkbox”).value)
[158, 124, 12, 0]
else
value;