> typeof(shape) == typeof(_root) == 'movieclip' IIRC. I didn't intended to me shapes are moveclips. It was just the checking result by accident(with pp).
On 10/16/07, Zou Lunkai <[EMAIL PROTECTED]> wrote: > CVSROOT: /sources/gnash > Module name: gnash > Changes by: Zou Lunkai <zoulunkai> 07/10/16 10:23:43 > > Modified files: > testsuite/misc-swfc.all: registerclass_test3.sc > > Log message: > fix a bogus test, don't use shape as a child for testing, use real > sprite instead. > typeof(shape) == typeof(_root) == 'movieclip' IIRC. > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/registerclass_test3.sc?cvsroot=gnash&r1=1.3&r2=1.4 > > Patches: > Index: registerclass_test3.sc > =================================================================== > RCS file: > /sources/gnash/gnash/testsuite/misc-swfc.all/registerclass_test3.sc,v > retrieving revision 1.3 > retrieving revision 1.4 > diff -u -b -r1.3 -r1.4 > --- registerclass_test3.sc 25 Sep 2007 06:08:21 -0000 1.3 > +++ registerclass_test3.sc 16 Oct 2007 10:23:43 -0000 1.4 > @@ -35,13 +35,21 @@ > > > .frame 2 > - .sprite libItem1 // Define a sprite libItem1 > + .sprite child1 > .put b1 x=100 y=100 > .end > - .sprite libItem2 // Define a sprite libItem2 > + > + .sprite child2 > .put b1 x=100 y=200 > .end > > + .sprite libItem1 // Define a sprite libItem1 > + .put child1 > + .end > + .sprite libItem2 // Define a sprite libItem2 > + .put child2 > + .end > + > > .frame 3 > > @@ -78,7 +86,7 @@ > > // Childs of libItem2 have also been placed already > // Gnash fails by executing init actions before frame0 tags > - xcheck_equals(typeof(libItem2.b1), 'movieclip'); > + xcheck_equals(typeof(libItem2.child2), 'movieclip'); > .end > > .put libItem2 > > > _______________________________________________ > Gnash-commit mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnash-commit > _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
