I have just started looking into the use of the standard DataGrid component
under Gnash 0.8.5 and have run into some weird behavior.  I've verified the
issue exists under Ubuntu 7.10 and Fedora 10.

I created a main SWF that has a sub-MovieClip obj in which I use a
MovieClipLoader to load a sub-SWF when the user clicks a button.  The
sub-SWF has 11 frames, the 3rd of which contains a single DataGrid.  The
first time the button is pressed, the sub-SWF appears to load just fine (no
errors, playback is as expected, etc).  If I press the button a second time
(or try and load any other SWF into that sub-MovieClip), I get an error in
onLoadInit() when I'm trying to goto a specific frame (frame 4 in the case
below):


PC:3415 - EX: ActionCallMethod
 method name: [string:gotoAndPlay]
 method object/func:
[gnash::movie_instance(_level0.content.target):0x8560008]
 method nargs: 1
Executing 8 tags in frame 3/11 of movieclip /content/target
22106:3085941184] 16:04:59 ERROR: MovieClip::replace_display_object: could
not find any character at depth -16383
22106:3085941184] 16:04:59 ERROR: MovieClip::replace_display_object: could
not find any character at depth -16382
Executing 2 tags in frame 1/2 of movieclip /content/target/my_dg
Executing 1 tags in frame 1/1 of movieclip
/content/target/my_dg/boundingBox_mc
Executing 8 tags in frame 4/11 of movieclip /content/target
22106:3085941184] 16:04:59 ERROR: MovieClip::replace_display_object: could
not find any character at depth -16383
22106:3085941184] 16:04:59 ERROR: MovieClip::replace_display_object: could
not find any character at depth -16382
Executing 1 tags in frame 1/1 of movieclip /content/target/myVODButton
After execution: PC 3415, next PC 3416, stack follows
Stack: "[undefined]"
Global registers: 1:[function(gnash::swf_function):0xb397e810],
2:[object(gnash::as_object):0xb397e888]
Local registers: 0:"[number:701]",
1:"[object(gnash::as_object):0xb1ca37f0]",
2:"[gnash::movie_instance(_level0.content.target):0x8560008]",
3:"[gnash::movie_instance(_level0.content.target):0x8560008]"
Local variables: this==[object(gnash::as_object):0xb1ca37f0]


I'm still digging into the details of this issue, and will post again once I
have more information, but I wanted to throw this error out there and see if
anyone can help direct my debugging effort.  Looking at the code for
"replace_display_object," depth is suppose to be unsigned so not sure why
it's negative at this point.

I do know that if I remove the DataGrid component from the stage, there is
no error.  I also know that if I leave the DataGrid empty (no dataprovider
assigned) the error still occurs.

Michael
_______________________________________________
Gnash-dev mailing list
Gnash-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to