Forum Discussion
Example files: Generating a certificate from Storyline
Hi Steve
I've had a go a what you suggest, but I'm struggling a bit. The score is still not displaying on the certificate so I'm obviously doing someing wrong. I've taken the following steps:
I set up a new variable called Score and assigned it a numeric value
I then set up a new trigger which 'adjusted' the variable 'Score' equal to the variable Results1.ScorePercent when the user clicks the object "Create My Certificate".
Then in the html I have:
.score {
position:absolute;
left:520px; top:500px; width:320px; font-family:Arial, Helvetica, sans-serif; font-size:40px; color:#cc00ff; z-index:2;}
var learnerScore=player.GetVar("Score").toString();
document.write("
Can you point out where I'm going wrong.
Thanks for your help.