[Extendflash] MMExecute from class vs timeline

Ryan Matsikas rmatsikas at gmail.com
Sat Oct 8 13:31:11 PDT 2005


did you escape the single quotes( ' ) or did your email client? I don't
think they are necessary.. might be the issue.

I've found that you get the argument number 1 is invalid error usually when
the file yer trying to run doesnt exist or the path is malformed might wanna
double check.



On 10/7/05, Clark Slater <clark at bayinteractive.com> wrote:
>
> What is the difference between using MMExecute from within a class or
> using it in the main timeline? The following code runs perfectly from the
> timeline but I get an error when attempting to run the same code from within
> a static method of a class:
>  MMExecute ("fl.runScript(fl.configURI+\'WindowSWF/sayHello.jsfl\',\'sayHello\');");
>
>  // error 'runScript argument number 1 is invalid'
>  Clark
>
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20051008/2d048a90/attachment.htm


More information about the Extendflash mailing list