[Flashcoders] jsfl

10 views
Skip to first unread message

[p e r c e p t i c o n]

unread,
May 3, 2013, 12:33:01 AM5/3/13
to Flash Coders List, Flash...@yahoogroups.com
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
Flash...@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

erik mattheis

unread,
May 3, 2013, 1:19:38 AM5/3/13
to Flash Coders List
Looks like you're building your string wrong. Try putting one + per line to
discover your mistake:

str = "fl.runScript(" +
var1 +
"," +
... etc.
--
Erik Mattheis
https://vimeo.com/user8058580

Bobby Mann

unread,
May 14, 2014, 1:33:39 PM5/14/14
to flashcode...@googlegroups.com, Flash Coders List, shock...@gmail.com
Hi! I came across this question while trying to run a function in an jsfl file. The function has two parameters, just like the example provided in the question.

 I tried erik's suggestion, but I can't see what's wrong with the string. Would it be possible for one of you to post the correct format for percepticon's code? That would be a big help for someone like me, who hasn't much experience in programming.
Reply all
Reply to author
Forward
0 new messages