Dynamically Load assets while user is on scene

I would like to have a very light first scene so that the document loads quickly and then load the rest of the assets for the document WHILE the user is still on that scene. I’m dynamically loading the assets in javascript,. I just need a way to do so that I’m not using loadLayout or unloadLayout but while the user is in the scene. While they’re on the scene I can load up the assets while they’re reading something, and they won’t notice any delays.

Is there some way to do something like “On Document Complete” with Hype, which would be more like “On Scene Complete.” I need to run a javascript handler after the first scene has completed loading.

Any suggestions on how to actually do this?

Just start the preload with a timelineaction on the maintimeline and your ready to go …

1 Like

Thank you!