Just discovers that Java Script is not working after updating Storyline Update 6. I attached a storyline file here to check if the error is from my storyline installation or general problem.
I am not a JavaScript expert but I can say that our lessons have quite a bit of script in them to communicate with the CMS. Everything appears to be working correctly since the last update but that does not mean the last update didn't affect your code. Hopefully you can solve this issue soon.
2 Replies
I am not a JavaScript expert but I can say that our lessons have quite a bit of script in them to communicate with the CMS. Everything appears to be working correctly since the last update but that does not mean the last update didn't affect your code. Hopefully you can solve this issue soon.
Correct the syntax errors in your script to:
var radom = Math.floor(Math.random()*9) +1;
var player = GetPlayer();
player.SetVar("ran", radom);
This discussion is closed. You can start a new discussion or contact Articulate Support.