Hi,
if I try to run a Javascript code I get the above syntax error. The relevant portion of the script looks like this
case "Left_Voiced": {
if (prez.PosVoiced>1) {
prez.object('Voiced').translateBy(-108,0);
prez.PosVoiced--;
prez.SolVoiced = prez.ArtVoiced[prez.PosVoiced-1];
};
};
break;
},
function(e, prez) {
None of my two scripts seem to contain the “},”. Where does that come from? The script worked just fine. Then I added something which didn’t work and I deleted it again. Now I get this syntax errror.
Best,
Rolf