Hello, I have an Adobe Animate Canvas animation with a stop action on the first and last frame with an audio element that starts it. When the page loads a sync event in the audio tells the canvas animation to start playing. It works great when I preview it. The issue is that once it’s loaded to the LMS the audio loads faster than the canvas element in the web window and the file breaks because the sync event tries to play something that doesn’t exist yet. (at least this is what I think it’s happening) Does anyone have a suggestion on how to fix this issue? I’m attaching a Lectora and Animate source files and the error message. I would greatly appreciate any help.
Thanks guys, I wasn’t able to reply earlier as this site was blocking my responses, saying I was hacked.
Tim, I don’t think it’s a timing issue as I’ve delayed the audio by 1 second and still many times audio loaded and started playing before canvas loaded into the web window and I got the same error. I even tried to play audio onshow of the web window thinking that audio won’t play until the canvas content is loaded. I was wrong, the web window loaded pretty fast but the canvas loading into that web window was slow to load. I wish there was a way to add something to the Animate timeline to trigger the Lectora audio.
Darrel, thanks for your response but I’m afraid I’m not that tech savvy to try your solution.
Hello Carl, it seems to me that the OnShow fires when the web window loads and not the Canvas inside the window. It seems to work with short animations but I have a couple of Animate files that are close to 2 minutes long and these take up to 3-4 seconds to load inside the web window and by then the audio is playing and out of sync.