Quantcast
Viewing all articles
Browse latest Browse all 114192

Re: Problems loading JSON into Edge Animate

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.


Viewing all articles
Browse latest Browse all 114192

Trending Articles



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