Looks like you're building your string wrong. Try putting one + per line to discover your mistake:
str = "fl.runScript(" + var1 + "," + ... etc. On Thu, May 2, 2013 at 11:33 PM, [p e r c e p t i c o n] < percepti...@gmail.com> wrote: > been a long time since i posted... > > qwik ques.. > > what's wrong with this > > MMExecute("fl.runScript(fl.configURI + 'Javascript' + > '/browse_optimize_dirs.jsfl', 'batchOptimize', " + iTxt + ", " + oTxt + > ");"); > > error is: > > SyntaxError: missing ) after argument list > > TIA > > percy > > -- > . : . > [ p e r c e p t i c o n ] > . _ _ _ _ _ _ _ _ _ _ . > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Erik Mattheis https://vimeo.com/user8058580 _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders