gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash/server sprite_instance.cpp


From: strk
Subject: Re: [Gnash-commit] gnash/server sprite_instance.cpp
Date: Sat, 12 Jan 2008 16:12:17 +0100

On Sat, Jan 12, 2008 at 04:08:05PM +0100, Udo Giacomozzi wrote:
> Hello strk,
> 
> Saturday, January 12, 2008, 3:56:12 PM, you wrote:
> s> I belive a toLowerString() method is called against the
> s> passed argument, and the result if passed to MovieClip.meth()
> s> which takes a string ("post"/"get") and return a number (0,1,2).
> 
> s> Try passing an object with a toLowerString method defined
> s> and override MovieClip.meth to confirm.
> 
> This is what is done in meth(), and I already replicated in
> loadVariables().

Confirmed, sorry.

> BTW, what is meth() supposed to do after all?

just convert "get" to 1 and "post" to 2 and anything else
to 0. with case-insensitive comparison.

Still, obfuscated code might rely on the function calls
to do something different. See actionscript.all/MovieClip.as
for examples.

See also
http://wiki.gnashdev.org/wiki/index.php/Initialization#AS-defined_builtins

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]