I want the page I created to be the Preloader page

Tumult Hype does not currently have per-item event callbacks or status (though this is a good feature request). The ways to accomplish this would be:

  • Disable preloading from your Hype assets, and perform your own preloading of the files. Since the browser page all shares the same cache, you can do it manually. Preloading images looks something like:
    var resourcePath = "https://example.com/path/to/image.png";
    var img = new Image();
    var completionHandler = (function (e) {
        didPreloadResource(resourcePath);
    });
    		
    img.onload = completionHandler;
    img.onerror = completionHandler;
    img.onabort = completionHandler;
    img.src = resourcePath;
    
  • Do not use a progress based indicator, and instead show indeterminate progress via the tips here:
    Creating a Custom Preloader