bugGnash - The GNU Flash player - Bugs: bug #17806, another problem with simple guess...

 
 

bug #17806: another problem with simple guess game

Submitted by:  None
Submitted on:  Tue 19 Sep 2006 02:28:19 PM UTC  
 
Category:  None Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  Sandro Santilli <strk>
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Thu 21 Sep 2006 03:49:22 PM UTC, comment #7: 

Seems it's working fine indeed.

Anonymous
Thu 21 Sep 2006 01:57:46 PM UTC, comment #6: 

Ok, I finally committed a little bit more complex patch for this problem. The testcase DefineEditTextVariableNameTest.swf runs correctly, as it does the simple guessin game.

Basically, I added a new concept of "Textfield Variables" in the sprite_instance class. set_member and get_member of sprite_instance
will use any existing Textfield variable.

Tests welcome.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 21 Sep 2006 10:33:32 AM UTC, comment #5: 

I committed a patch that removes the wrong assumption about VariableName (considering it a default instance name).
This brokes the other half of the game, but I woudln't worry
about it. We really want it to be fixed generally.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 21 Sep 2006 08:30:45 AM UTC, comment #4: 

Ok, I handled to provide a testcase for this problem:
testsuite/misc-ming/DefineEditTextVariableNameTest.swf
(needs Ming to build with a make rule)

The problem is misinterpretation of the VariableName.
It is used (in gnash and gplflash) as a default instance
name, while should really be a completely autonomous
object with a reference to the TextField with get/set
capabilities (extract/set text of the field)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 20 Sep 2006 02:06:20 PM UTC, comment #3: 

Ok, it seems that the edit_text_char is expected to be named PCNum (that's it's default variable name), but sprite_instance::set_member(PCNum) doesn't find it in the display list. Getting closer..

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 20 Sep 2006 11:03:59 AM UTC, comment #2: 

I don'y have the source. That was one of the test files of GPLFlash, other example can be found here:
http://gplflash.sourceforge.net/cgi-bin/moin.cgi/TestFiles

Anonymous
Wed 20 Sep 2006 09:12:05 AM UTC, comment #1: 

You do can press the buttons, but yes, w/out a guess you can tell :)
It seems that the computer guess results "undefined", so I'm tracking this. Note that I do see a guess number known in gnash,
but it just never gets assigned to /:hmGuess, which is the
name of the textfield.

If you have the sources of this testcase you might help by
adding a few trace() calls in the code to catch the error as soon
as it happen.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 19 Sep 2006 02:28:19 PM UTC, original submission:  

I see a problem with this flash file #10791: select "You pick a number"; in Macromedia you can see the number 500 on the box, and you can press the "Too Low" or "To High" buttons. With gnash, however, the number box is empty, and you can't press the "Too Low" or "To High" buttons.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-22 strk StatusReady For Test => Fixed
    Open/ClosedOpen => Closed
2006-09-21 strk StatusIn Progress => Ready For Test
2006-09-20 strk StatusNone => In Progress
    Assigned toNone => strk

Back to the top


Powered by Savane 3.5