[Extendflash] Passing parameters to nested JSFL function from AS

Michael Klishin flash at novemberain.com
Sun Nov 6 15:17:01 PST 2005


Hi guys,

I've got a problem with passing parameters t JSFL script function from AS.

Say, we have a JSFL script with a function inside. For example, it's
document.optimizeCurves. How to pass parameters to it with help of
MMExcute if I also need to excute lots of JSFL code before? I could do
smth like

MMExcute("document.optimizeCurves(" + foo + ", " + bar + ");");

but what if I need to do it in loop with calculations but some
parameters have to be passed from AS?

I think solution is somewhere at top but I can't find it by myself anyway.

Thanks in advance!
-- 
Michael Klishin,
flash at novemberain.com


Non progredi est regredi



More information about the Extendflash mailing list