On Wed, Jun 13, 2007 at 11:46:56AM -0500, Meryl Silverburgh wrote:
> Hi,
> 
> Can you please tell me if gnash support 'global', 'root' keywords ?
> For example this action script:
> 
> _global.factorial = function (n) {
>  if (n <= 1) {
>    return 1;
>  } else {
>    return n * factorial(n-1);
>  }
> }
> 
> If yes, can you please point me to the code which handles it?
> I looked at server/asobj/Global.cpp, I don't find it there.

It's in

as_environment::get_variable_raw
as_environment.cpp line 151

grep for '"_global"'

--strk;


_______________________________________________
Gnash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash

Reply via email to