This is my first venture into the world of classes so apologies in advance for my newbie terminology. I have implemented a very nice “Busy” indicator courtesy of Daniels Tech Ramblings and it’s initiated by:
var loadInd = new LoadIndicator(this, 250, 200);
and is stopped via:
loadInd.destroy();
My problem is that the variable ‘loadind’ is created in one function and I need to stop it in another function where said variable is unknown - Variable loadind is not defined.
How do I get around this?