A
A
axtyt2014-02-22 23:43:06
Adobe
axtyt, 2014-02-22 23:43:06

Syntax error: expecting rightparen before setInterval. Where is the mistake?

Outputs: Scene 1, Layer 'Layer 1', Frame 1, Line 7 1084: Syntax error: expecting rightparen before setInterval.
Code:
var t_str = "TEXT";
changeStr( function() {
t_str = (t_str.concat(t_str.substr(0,1))).substr(1);
scroll_txt.text = t_str;
}
setInterval(changeStr, 100);
What's wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Guketlev, 2014-02-22
@axtyt

Translate simply what the compiler writes. You are missing a closing brace.

M
Maxim Grechushnikov, 2015-05-13
@maxyc_webber

You have asked this question 10 times already. take any jquery slider and paste it to yourself at last wherever you want

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question