[Extendflash] how can i #include ?

Hardeep Singh hardeep.bhatia at gmail.com
Mon Aug 22 15:02:49 PDT 2005


As far as I think, you can only include .AS files using #include.
 To load an external JSFL file, you need to use MMExecute() like this:
MMExecute("fl.runScript(\"file.jsfl\");");
 The JSFL methods will never come in direct scope of AS, to call such 
methods from AS you again need to call MMExecute.
 MMExecute("JSFLmethodName()");
 Thanks,
Hardeep Singh

 On 8/22/05, Jarrad Hope <jhope at lungshrimp.com> wrote: 
> 
> i have my script and library in tools/ and i cant seem to use #include
> "testlib.jsfl"
> 
> i apologise if this has already been answered, i cant seem to figure
> outhow to search the mailing list)
> 
> am i doing something wrong?
> 
> Thanks!
> 
> -Jarrad Hope
> _______________________________________________
> 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/20050822/88316ba9/attachment.htm


More information about the Extendflash mailing list