gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] /srv/bzr/gnash/trunk r12128: Fix regression playing s


From: Sandro Santilli
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r12128: Fix regression playing simpleguess.swf (strk.keybit.net/tmp/simpleguess.swf).
Date: Sun, 4 Apr 2010 00:54:31 +0200

Note that a possible solution for this could
be for Selection class to check AS-exposed type
of objects as the swfdec testcase uses
createTextField which is known to return something
whose prototype is NOT TextField (ref. actionscript.all/TextField.as)

--strk;


On Sat, Apr 03, 2010 at 10:36:18PM +0200, Sandro Santilli wrote:
> ------------------------------------------------------------
> revno: 12128
> committer: Sandro Santilli <address@hidden>
> branch nick: trunk
> timestamp: Sat 2010-04-03 22:36:18 +0200
> message:
>   Fix regression playing simpleguess.swf 
> (strk.keybit.net/tmp/simpleguess.swf).
>   This breaks a couple of testcases in swfdec testsuite.
> modified:
>   libcore/TextField.cpp

> === modified file 'libcore/TextField.cpp'
> --- a/libcore/TextField.cpp   2010-03-11 01:47:08 +0000
> +++ b/libcore/TextField.cpp   2010-04-03 20:36:18 +0000
> @@ -2603,7 +2603,10 @@
>  TextField::handleFocus()
>  {
>  
> -    if (getSWFVersion(*getObject(this)) < 6) return false;
> +    // despite the swfdec suggestions, the simpleguess.swf
> +    // testcase (real case, SWF4) only works with TextField
> +    // accepting focus
> +    //if (getSWFVersion(*getObject(this)) < 6) return false;
>  
>      set_invalidated();
>  
> 

> _______________________________________________
> Gnash-commit mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnash-commit


-- 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html




reply via email to

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