The information I needed from Storyline to create this animation was very simple. Just the score percent. This is available in Storyline as the Results.ScorePercent variable which is available inside the Trigger Wizard.
This animation worked in Storyline 2. Now that we have upgraded to Storyline 3 it does not.
However, when I try...
...I get null in return.
In Storyline 2 I used to be able to access this information via...
var quizList = window.story.quizzes;
var firstQuiz = quizList [Object.keys(quizList)];
var quizData = getQuizData();
var percentScore = Math.round(quizData.PercentScore) + "%;
...In Storyline 3 it seems that the 'story' window object has been moved inside an anonymous function, making it inaccessible.
I tried adding text fields to the stage displaying the Results.ScorePercent variable and then reading their text. But it seems as of Storyline 3 this text is generated inside a SVG canvas and is therefore, once again, inaccessible.
So my question is as below.