[Extendflash] Passing parameters to nested JSFL function from AS

John Deans John.Deans at theboardworks.co.uk
Mon Nov 7 09:35:39 PST 2005


Hi,

Is it a case of moving all your structure currently in JSFL into the swf
(including your loop)? Your JSFL file is then a bunch of simple commands
that each get called from the AS code as it needs them.

Cheers,

John 

-----Original Message-----
From: extendflash-bounces at flashguru.co.uk
[mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Michael
Klishin
Sent: 06 November 2005 12:17
To: extendflash at flashguru.co.uk
Subject: [Extendflash] Passing parameters to nested JSFL function from
AS

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

_______________________________________________
Extendflash mailing list
Extendflash at flashguru.co.uk
http://lists.flashguru.co.uk/mailman/listinfo/extendflash


More information about the Extendflash mailing list