[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #46719] Gnash's `GetVariable()` returns incorrect va
From: |
Nutchanon Wetchasit |
Subject: |
[Gnash-commit] [bug #46719] Gnash's `GetVariable()` returns incorrect value of undefined variable under SWF5 |
Date: |
Mon, 11 Jan 2016 14:20:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0 |
Follow-up Comment #3, bug #46719 (project gnash):
I have also done some more test regarding behavior of `GetVariable()` when
fetching variable from sub-MovieClip loaded from a different SWF file
which _uses a different SWF version_ (e.g. one loaded via `loadMovieNum()`).
Result is Flash Player acts on *root movie's SWF version*, not the version
of SWF that is loaded as the sub-MovieClip. That is when root movie is SWF7
and sub-movie is SWF5, `GetVariable()` will use SWF7 behavior. When root
movie
is SWF5 and sub-movie is SWF7, `GetVariable()` will use SWF5 behavior.
Test file, text output, and screenshot from Flash Player are attached
as `getvariable-extmovie.zip` for reference.
Note: This test code does not work on current Gnash due to path notation
part of bug #42395, which caused `GetVariable()` to fail on sub-MovieClip.
Flash Player: 11.2 r202 (11.2.202.491) NPAPI binary
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386
(file #35990)
_______________________________________________________
Additional Item Attachment:
File name: getvariable-extmovie.zip Size:9 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46719>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/