Thanks Jeremy! That’s working perfectly now.
Two quick follow up questions:
1) is there a way to shorten the length of the time that the pre-loading screen takes? I call CheckPreload() before the experimental trials begin, and I’m totally fine with that being a 60 second pause. But is there way for later pre-loading messages to only last for maybe 3-5 seconds before giving up and quitting on the current trial?
2) Is there some place I can read about/figure out tricks like the function you wrote in your previous response? For example, it never would have occurred to me to check “._element.resource.status”, and I don’t see that in the documentation anywhere. Just trying to learn to be more self-sufficient with these things.