Seems like the behavior might be different in different browsers.
I have a project I'd been working on that involved multiple say actions in a row (well, and each was inside an if action, but that shouldn't make a difference), each of which displays text that's been fed through a javascript function that replaces a number of tokens with different values.
Code: Select all
function procline(line) {
var temp = line;
console.log("Procline: " + line)
(A bunch of replace functions go here...)
console.log("Procline 2: " + temp)
return temp;
}
In Chrome, the first log message appears when it seems like it should, but the second only appears after clicking on the say -after- that one.
In Firefox, the second log message -never- appears, or at least it hasn't so far before something causes the tease to lock, which was not a problem the last time I worked on this.
And Edge throws a SecurityError, after which no text displays at all. (Unlike the others, which display junk.)
Removing the log lines changes the behavior somewhat... but it's never really correct.
I'm pretty sure this was not how things behaved before.
I tried changing things so the text was assigned to a variable in an eval tag, followed by a timer, and then had it displayed, but this only seemed to work when the text wouldn't actually change, even with a fairly long timer. (And they shouldn't really take a noticeable amount of time to complete to begin with.)
Auto: Replaces selected instances of the word "not" with the word "definitely".