Kind of a head-scratcher for me. why does
if(layer[scrolltextfield].width GT calc(stagewidth - 30), calc(layer[scrolltextfield].width, stagewidth - 30));
fail with the error: "Invalid expression: layer[scrolltextfield].width, stagewidth - 30 tour.js line 10 > eval:1:133792:
While
if(layer[scrolltextfield].width GT calc(stagewidth - 30), calc(layer[scrolltextfield].width, stagewidth - 30););
does not? The only difference is the addition of a semicolon (in red) that I wouldn't think is necessary. The error occurs in Firefox and Chrome.