I'm making an Autosave function with Adobe Animate/Flash's Javascript API. I've been trying to figure out how to tell the code to sleep/wait for a few minutes then save all the files in a loop, however I couldn't get setTimeout or any function similar to it to work.
Does anyone know any way to use setTimeout with JSFL? Or should I code the Autosave function in a completely different language?
question from:https://stackoverflow.com/questions/65643029/jsfl-sleep-function-settimeout