Dynamic loader usage

The basic usage of Loader is quite simple:
  Loader.loadClass("MyClass", function() {
    //Code for executing. If class is already loaded, then code will be executed immediately
    var myObj = new MyClass();
  });

You can find more working examples at Demo page

Loader indicator

You can show the load indicator by calling:
  Loader.show();
  Loader.hide();

Notice that if you will show the indicator twice, then you should hide it twice.