This sample demonstrates how to dynamically load resources using the loader. In this sample, the loader doesn't load the igTree resources until the button is clicked. When you pass in a resource string as a loader parameter, in this case "igTree", the loader fetches the required resources prior to executing the callback function.