Sat 02 Oct 2010 11:43:19 AM UTC, comment #17:
I tested the attached swf file in Gnash from git trunk (after version 0.8.8), and the pull down menu was still missing the two names.
|
Tue 02 Dec 2008 02:23:56 PM UTC, comment #16:
This lacks some selection methods (getBeginIndex, getEndIndex, and setSelection), but otherwise seems all right.
The malformed XML should no longer be a problem either.
|
Thu 10 Apr 2008 07:27:47 AM UTC, comment #15:
isolate the portion giving you different traces.
we need it as small as possible.
|
Thu 10 Apr 2008 06:51:13 AM UTC, comment #14:
yes, just tell me what trace you would like to add.
Thanks
|
Thu 10 Apr 2008 06:49:22 AM UTC, comment #13:
Do you have a way to compile the ActionScript in the .zip
file back to an SWF ?
|
Thu 10 Apr 2008 05:31:36 AM UTC, comment #12:
Attached please find trace logs generated by saflashplayer 8 (fldebug.txt) and by gnash 0.8.2 (gnash-dbg.zip).
The first trace msg appear in both logs:
myso.data.toload===:: undefined/undefined/undefined
After that fldebug.txt shows following messages which I can't find in gnash-dbg.log:
level:
Number_of_Correct_attempt: 0
Number_of_attempt: 0
time_spent: 4
recorded: false
game_id: G_01
end_session_time: Wed Jan 17 12:11:32 GMT+0800 2007
start_session_time: Wed Jan 17 12:11:27 GMT+0800 2007
session_id: NaN
to_load: undefined/undefined/undefined
Book: 1
Series: 1
ST_Name: peter
Finally the following trace msgs are shown in both logs:
peter
victor
I can add more trace msgs, but not being an AS developer, would need some advice on where/what to add. Attached please find *.as files (STUDENT.zip).
Thanks, Richard
(file #15434, file #15435, file #15436)
|
Wed 09 Apr 2008 12:07:04 PM UTC, comment #11:
you can use flasm to convert to asm-like code
and back (change the actionscript code).
and/or swfmill (swf2xml and xml2swf) to change the timeline structure.
|
Wed 09 Apr 2008 12:04:13 PM UTC, comment #10:
Unfortunately I am not. Let us spend some time to figure out adding trace.
Is it possible to simplify it into a simpler testcase?
Hong Yu
|
Wed 09 Apr 2008 11:31:48 AM UTC, comment #9:
Hong, are you the author of the SWF ? I didnt' realize that !
Adding debugging calls to edit_text_character I saw that the
text is even put into the textfields, just not displayed.
Can you add traces in the movie to print some depths or
other interesting thing for comparison with the pp ?
|
Wed 09 Apr 2008 11:23:49 AM UTC, comment #8:
We followed your suggestion and modified STUDENT.xml. We checked out Gnash HEAD as of today Apr 9, 2008, built with default non-debugging option, and ran with STUDENT.swf. The result is consistent with your newest progress summary, that graphics still needs work, and gnash.log shows XML parsing better (Peter, Victor).
Gnash log is of big size (2M), so will email seperately.
Attached: modified STUDENT.xml
(file #15428)
|
Wed 09 Apr 2008 06:21:40 AM UTC, comment #7:
Actually, I talked too soon.
The STUDENT.xml file is malformed:
Entity: line 1: parser error : attributes construct error
<Student Name="peter" MOB="January"LEVEL="KG" SERIES="1"/>
There is no space between ending double quote of MOB value
and next attribute (MOB).
Libxml (even with the recover option) gives errors and
return 0 childs. Adding the space fixes it for gnash.
|
Tue 08 Apr 2008 10:11:40 AM UTC, comment #6:
Parsing of STUDENT.xml is better now. Parsed records are still
not shown in the pull-down menu though (but traced correctly).
Need help from the movie author if possible for next step,
as we'd have to add more traces and spot the difference
(if AS-related at all). Can still be done with flasm
but I guess the author would know better where to put them..
|
Tue 08 Apr 2008 07:36:23 AM UTC, comment #5:
Simple AS code for testing:
---8<------------------------------------
x = new XML();
x.onLoad = function() { trace(x.toString()); };
x.load("file.xml");
---8<------------------------------------
makeswf -o dumpxml.swf dumpxml.as
create your file.xml and point the player on the swf.
STUDENT.xml is a good start as a 'file.xml'
|
Mon 07 Apr 2008 09:11:48 PM UTC, comment #4:
I found another problem being parsing XML documents with
no defined root node.
The STUDENT.xml file has an implicit root, with
two <student> childs.
Gnash only sees the first one.
|
Sat 05 Apr 2008 10:22:05 AM UTC, comment #3:
Object.watch should be good enough now.
Movie still doesn't work.
I guess next step could be adding traces in the SWF to find
where we fail. That's usually the easiest way to find out.
|
Fri 04 Apr 2008 07:27:19 PM UTC, comment #2:
addProperty is fixed now.
Next problem is Object.watch being unimplemented.
Would be fun to work on it
|
Thu 03 Apr 2008 09:54:04 AM UTC, comment #1:
One problem is addProperty("name", getter, null)
which gnash fails on. I'm adding automated testcase
for it, and will commit a fix shortly.
|
Thu 03 Apr 2008 08:09:31 AM UTC, original submission:
I have tested the attached file (STUDENT.swf) which was created on Flash MX using UI Components. On Macromedia Flash 7 player, a pulldown menu with two items (peter, victor extracted from STUDENT.xml) is shown. On gnash 0.8.2, only an empty box is shown.
|