I am using Captivate to create a quiz. The output of the score is sent via email. I have a javascript function that intercepts this email, strips out the score and then forwards the result to another application in this case another flash object.
The problem I have is that when I submit the score the function returns undefined, but when I click the submit button a second time the function returns the score.
It is almost as if there is a delay in getting the value from the captivate generated flash object into the javascript function
My question: Can I introduce a delay of some sort in the function or some kind of ‘watch’ that checks for a value before it passes this information on.
Thanks in advance.
T.