Search the Community
Showing results for tags 'file'.
Hello Guys! I'm new here to Greensock and excited to be a part of the community! I shall continue to contribute as well. I'm new to SVGs and working on some pretty cool stuff. As you can see here from this URL, I have a group of shapes (currently as a cluster) and they are SVGs. Does anyone have experience on how I can create a folder toggle button and it shows the shapes as a collection? I already have the drag and drown functionality built in. Thanks for the assistance!
Hi! I would like to call animation functions only after the external GSAP file is loaded. I could place the animation functions after the link to GSAP file like this: <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script> <script> //my animations </script> ...but I want to load TweenMax.min.js asynchronously and that's the problem: <script async src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script> I've googled it and found some kind of solution. The idea is to have a global variable created by the the external script and check whether it exists or not. If it exists, then the external JS is loaded. I found the solution here. So my question is: does TweenMax.min.js create any global variables or objects or whatever I can check the existence of? Thanks in advance!