So for example if you had a text field element that was named "the name". How would you tell animate if the value of the loaded json object was "null" hid the parent clip which is inside another symbol.
Something like
// if my element mySymbolInstanceName has the text "null" in it.
if (sym.getSymbol("mySymbolInstanceName").html("null") { //this is wrong syntax… not sure why
// hide the parent symbol
sym.getParentSymbol().css({"opacity":"0"});
}
else {
// do something entirely different
}
I'm sure my syntax is WAY off.