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;
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit