[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash] global and root keywords in gnash
From: |
strk |
Subject: |
Re: [Gnash] global and root keywords in gnash |
Date: |
Wed, 13 Jun 2007 19:13:42 +0200 |
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;