[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash/testsuite/misc-swfc.all opcode_guard_test...
From: |
zou lunkai |
Subject: |
Re: [Gnash-commit] gnash/testsuite/misc-swfc.all opcode_guard_test... |
Date: |
Thu, 8 Nov 2007 15:17:14 +0800 |
> Bogus comment or implementation of test3 ?
> Comment says 'del mc3' should be at target of gotoAndPlay,
> while implementation puts it one frame before that:
>
Right, thanks. I am also reviewing the source file right now.
--zou
On Nov 8, 2007 3:12 PM, strk <address@hidden> wrote:
> On Thu, Nov 08, 2007 at 05:29:44AM +0000, Zou Lunkai wrote:
> > CVSROOT: /sources/gnash
> > Module name: gnash
> > Changes by: Zou Lunkai <zoulunkai> 07/11/08 05:29:44
> >
> > Added files:
> > testsuite/misc-swfc.all: opcode_guard_test3.sc
>
> Bogus comment or implementation of test3 ?
> Comment says 'del mc3' should be at target of gotoAndPlay,
> while implementation puts it one frame before that:
>
>
> > +// test3:
> > +// place mc3 at frame X, _root.gotoAndPlay(X+2)
> > +// remove mc3 at frame X+2
> > +// observed:
> > +// global code in mc3 is guarded by isUnloaded()
> > +.frame 10
> > + .sprite mc3
> > + .action:
> > + _root.mc3.onUnload = function () {};
> > + _root.gotoAndPlay(13);
> > + _root.asExecuted3 = true;
> > + .end
> > + .end
> > + .put mc3
> > +.frame 12
> > + .del mc3
> > +.frame 13
> > +.frame 14
> > + .action:
> > + _root.check_equals(asExecuted3, false);
> > + .end
>
> --strk;
>