-
Global Object usage ($.var), thoughts?
Someone in another group posted this article to me today:
https://blob.pureandapplied.com.au/the-global-object-in-after-effects/I’m intrigued as memory storage has historically been nonexistent in AE. This opens up a world of possibilities for storing reusable functions, global variables, etc. But the author mentions being wary of relying on it as access to it could go away in the future. Also the issue about not freeing up the memory when the variable is deleted can be an issue if you’re not careful with how you use it.
I’d like to know what you guys think on the issue. I know Essential Graphics is supposed to be AE’s solution to global variables, but that’s not nearly as flexible as being able to store any javascript object for later retrieval.
Have you guys known about this in the past and decided not to use it? Or is this something new? What are your thoughts on using it to hold common variables you regularly use in new comps?