[Extendflash] Way to pass objects back and forth from JSFL to SWF

Judah Frangipane judah-fc at t8design.com
Mon Aug 8 17:40:49 PDT 2005


What I'm doing is calling an XMLUI window that contains a SWF. In the 
swf I have numerous MMExecute calls to the originating JSFL file. What 
it is not returning is functions and it only returns string variables 
but nothing else. Unfortunately it needs to be XMLUI with a SWF.

************************
JSFL
************************
settings = doc.xmlPanel(fl.configURI+'Commands/F8Updates.xml');
fileArray = getFiles(dir);
function myFunction () {
    return "hello";
}

************************
Flash ActionScript to JSFL
************************

var fileArray = MMExecute("fileArray");
trace(typeof(fileArray)); // traces "string"

// on separate tests from the one above this throws error "undefined"
trace(MMExecute("myFunction()"));




Barbara Snyder wrote:

>Does the XMLUI object do what you need?
> 
>------------------------------------
>Thanks -- Barbara   707-696-7852     brsnyder117 (YIM/AIM) 
>
>-----Original Message-----
>From: extendflash-bounces at flashguru.co.uk
>[mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Judah
>Frangipane
>Sent: Monday, August 08, 2005 12:06 PM
>To: extendflash at flashguru.co.uk
>Subject: [Extendflash] Way to pass objects back and forth from JSFL to
>SWF
>
>Is there a way to pass objects back and forth from a JSFL file to the 
>xmlui SWF? This is a command that calls a xmlpanel with a swf inside of 
>it. I want to pass objects back and forth from ActionScript to 
>JavaScript (JSFL).
>
>Best Regards,
>Judah Frangipane
>_______________________________________________
>Extendflash mailing list
>Extendflash at flashguru.co.uk
>http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>_______________________________________________
>Extendflash mailing list
>Extendflash at flashguru.co.uk
>http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>
>
>
>  
>



More information about the Extendflash mailing list