Thanks. How about "_root"?

http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary633.html

" _root.stop(); "



On 6/13/07, strk <[EMAIL PROTECTED]> wrote:
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