On Thu, Oct 04, 2007 at 07:43:40PM +0800, zou lunkai wrote:
> > > IMPORTANT NOTE:
> > > We need a test for opcode guarding to check if Unloaded and Removed
> > > makes a difference there. If the removed character has an onUnload event
> > > handler, is the remaining of actions after it's removal from stage still
> > > discarded ?
> > >
> 
> Found related tests in misc-ming.all/opcode_guard_test.c.
> 
> "
>     // should not be executed.
>     add_clip_actions(mc1, "_root.xcheck(false);");
> "
> 
> This testcase defines onClipConstruct, onClipLoad, onClipUnload and
> onClipEnterFrame event handlers for a static movieclip mc1.  mc1 gets
> unloaded in its construct handler(by the effect of gotoFrame).
> Tests show that:
> (1)frame0 actions of mc1 *shouldn't* be executed.
> (2)onClipConstruct, onClipLoad, onClipUnload handlers should be executed.

not executing frame0 actions is different from executing a portion of them.

--strk;



_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to