Long Running Script in Preview
- November 27, 2022
- 2 replies
- 1037 views
Hello All,
A SME was unable to complete a SCORM 2004 3rd Ed file, so I first replicated the issue in the LMS (Adobe Learning Manager). Next I went into Captivate and looked at the slide where he discovered the problem. The slide itself does not have anything unexpected in its objects, actions, etc. that would cause the issue, which is simply that when all of the 4 buttons with answers in them are not executing the "Jump To Slide" action they're all assigned (navigating to 4 different slides for particular-mistake-specific remediation).
I removed all pauses from buttons, and rearranged slide orders to utilize the "Go To Next Slide" action instead of "Jump To Slide," even though neither should matter in theory. FINALLY, after a dozen guesses (and previews of the project) at different things it could be, I clicked the button with the correct answer in it (which is triggering all objects not be able to be clicked any more) and sat in frustration for about 30 seconds racking my brain when the attached screenshot with its error message at the bottom of the screen came up that reads "localhost is not responding due to a long-running script" and gives me a "Stop Script" button. When I clicked Stop Script, it jumped to the proper slide and all worked well.
I'm no developer, so I don't know what could cause this, but I started trying to locate a root cause within the Captivate file by Previewing "From This Slide" at each of the sections of the material and working backwards. The previews ran perfectly up until I was previewing the entire Project. The same issue happened when I used the Preview Project, as well as when I previewed "From This Slide" while highlighting Slide #1.
I then deleted Slide #1, which was largely window dressing, thinking that the slide was corrupted for one reason or another. When I previewed the Project, I ran into the same problem on with the long running script.
Assuming that the long running script is causing the same problem in the Captivate Preview function as it is in the published SCORM files (without the error message coming through), I am at a loss on how to resolve it, especially since we used the same template for many other SCORM files of identical design that are working as expected in the same LMS.
Any ideas or experience with this would be much appreciated, thank you in advance to anyone that can help!
